1. Open "Project Structure", set up the Project SDK, click "Apply" and click "OK" to confirm
2. Open "Project Structure", select "Modules" module, click "+" action, select "New module"
3. Select "Maven", tick "Create from archetype, select Apache Maven web App, click" Next "
4, enter the project Meaven module information, click "Next"
5, tick "Override", make Meaven directory, click "OK" to confirm
6. Click "Next" to proceed to the next step.
7, make the module name and path, click "Finish" to complete the Maven module add
8. Click "Apply" and click "OK" to confirm
9, at this time IntelliJ idea back to network download maven corresponding plugin
10. "Maven execution finished" appears, indicating that the MAVEN module was added successfully
11, after completion will pop up the following interface, IntelliJ idea configuration maven module generated files, tick "Remember,don ' t ask again", choose "Cancel" Cancel
12. Click the "Edit Configurations" editor configuration
13. Click "+" to add "Tomcat Server" and select "Local"
14. Click "Configure" To configure Tomcat, select the local Tomcat directory, click on the "Apply" app, then click "OK" to confirm
15. Switch to "Deployment" view, click "+", add "Artifact ..."
16, choose Artifact, click "OK"
17. Switch to "Server" view, click "Apply" Application, click "OK" to confirm
18. Double-click "Clean" under "Maven Projects"
19, double-click "Install" under "Maven Projects", "BUILD SUCCESS", indicating Maven project Bulid complete
20. Click "Debug" button to start the debug
21, the browser pops up the following page, MAVEN configuration success