1.create Project
2. Select Maven Web
3.groupid Artifactid Settings
4. Set up maven
The properties add a parameter archetypecatalog=internal, without this parameter, will be very slow when Maven builds the skeleton, and sometimes it will get stuck directly. Archetypecatalog represents the plug-in uses the archetype metadata, does not add this parameter when the default is Remote,local, that is, the central warehouse archetype metadata, because the central warehouse archetype too much, so the result is very slow, Specify internal to indicate that only internal metadata is used.
5. Set up project and module
6. New Java folder set as source folder
、
7. Set basic dependencies, Jstl, Jsp-api, Javax-servlet-api
8. Set up Web. xml
9. Set up Tomcat
10. Save settings to turn on Tomcat
To add a SPRINGMVC frame, please refer to the next blog post
IntelliJ idea Create a Web Springmvc project (i): Create a MAVEN Web project