springmvc idea to create a project to create a successful deployment, but access controller layer 404 error

There are many online problem to solve the problem, check the configuration file is correct? controller notes whether the scan? The success of the project started and so on.

Access error 404, but the background did not wrong, after all, or access path is wrong.

 

As shown, idea configuration tomcat

If you want to modify the project name in the url, and application context was under deployment (actually modified here, in front of the project name in the url automatically synchronized)

 

 

Met twice to record!

 

Guess you like

Origin www.cnblogs.com/lwcode6/p/11648000.html