springMVC demo简单易学,搭建过程中出现如下问题,总结:
(1)JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
解决办法:
1、右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Tomcat Server
2、切换到Java Build Path界面中的Orader and Export,选择Tomcat。
原因:uri路径匹配错误 将requesMapping写成
@RenderMapping
解决办法:修改之
有问题,解决之