Configure First SpringMVC project in IntelliJ IDEA 13
The Mechanism of Spring MVC frameworks by Java is shown in the img above.
1. Open IntelliJ IDEA
Creat Project, Select "Spring MVC" -> next->finish
Project name:
spr_learn
Project Location:...
Base Package:
cn.cigit
we get:
2. Test :
Generated a .war file in Project Path: \spr_learn\target
--> copy spr_learn.war file into
TomCat Home/ webapps
to finish the deployment.
Try to run this project , I met error in Chrome Explorer:
HTTP Status 500 - Servlet.init() for servlet mvc-dispatcher threw exception