In a team-work development project, someone using eclipse, someone using idea, worked on a half-day to successfully import an existing Eclipse Javaweb project into idea, the following is the import process
1. Open Idea Editor and select Import Project
Select an existing Eclipse Engineering catalog
Select Eclipse Project Type
Next, select the JDK version that the project depends on, click Finish
2, idea after loading all the files and configuration, the file directory appears on the left
When this requirement is described,. Project and. Classpath are the configuration files generated by eclipse, and an eclipse project must have these two files to be imported into idea,
Now do a series of configuration of the project, the mouse to select the project root directory, F4 open the configuration details page
Select the module's dependencies option to reconfigure the dependencies
New facets, select web type
These two places of labeling need to be changed, idea default root directory is the Web, personal eclipse is webcontent
After modification
Click Create Artifact,artifact is behind the creation of the Tomcat server to use, configure and click OK to complete the second step of the configuration
3. Configure the local Tomcat server
4, after the configuration is complete, start the server, normal start, done
Eclipse Project Import to Idea