您的位置:首页 > 编程语言 > Java开发

Configure First SpringMVC project in IntelliJ IDEA(fail)

2014-10-11 15:36 435 查看


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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: