How to Create Spring MVC project and ideaspringmvc project on IDEA
I have encountered some problems when setting up a project from eclipse and myeclipse to IDEA tools, so let me share my setup process.
We recommend that you prepare the java environment, IDEA tool, tomcat, and maven, and I am a Windows 7 7 system.
Create a project
Select spring, set up library later, and spring-mvc. Remember to configure the java environment in the project SDK.
Next is next. Continue to hook up spring-mvc.
The package name, project path, server path, and basic package design will be displayed;
Here we will talk about application server. I will select the tomcat path
After the job is OK, it will be finished. Run tomcat to see if an error will be reported,
At last, a page will pop up automatically with the name "Holle world !~ It means you have succeeded.