Let's start by saying that project in idea is the equivalent of workspace in Eclipse, and that modules in idea is equivalent to project in Eclipse.
1. File-->import Project in the popup dialog box, select the item to import
2. Select OK, select Import Project from External Model in the popup dialog box and select Eclipse below
3, click Next, always click to finish on the line.
4. Some errors will occur after loading successfully
Click Fix It
The above 2 cancellations are all right.
5, click on the project name, and press F4 to build
5, eject, select dependencies
6. Select your own module SDK and remove the red
7. Then select Apply in the lower right corner
8. Select facets, add Web configuration file
9, click on the + sign, select the Web
10. Select the project name and click OK
11. Select the small pencil on the right and edit the path
12. Modify the project path to Web. XML under Web-info
13, the following for the JSP, CSS and other points to the path, the default is the project under the Web folder, as long as the CSS, JSP and other files copied to the Web folder on the line,
Or click the plus sign on the right to add the webcontent path,
13, if there is spring, etc. also follow the above steps to add can
14, in the choice of the right artifacts
15, click on the + number, in the selection of Web application:exploded---->from Modules,
Click OK
16. Click the lower triangle in the red box of the toolbar, select Edit Configuration,
17. Click the + sign to select Tomcat Server---->local,
18, choose Deployment,
19, click on the right of the + number, select Artifact,
20, choose Artifact Name, click OK, the toolbar will appear Tomcat,
Click Run to start the project
PS: About the Chinese garbled problem: If the code in Eclipse encoded in Utf-8,idea is also modified to Utf-8
Idea import Eclipse project and deploy run full step (forward)