升级到tomcat8时Artifact SpringMvcDemo:war exploded: Server is not connected. Deploy is not

时间:2015-12-22 01:11:42   收藏:0   阅读:3960

The method getDispatcherType() is undefined for the type HttpServletRequest 升级到tomcat8

配置项目,从tomcat低版本,放到tomcat8时,正常的项目居然报错了:

The method getDispatcherType() is undefined for the type HttpServletRequest

 

从网上查资料,找可能出现这个问题的因素:

1可能是环境变量,检查了没问题

2有人说jar包冲突

 

对于servlet-api.jar这个包,原来工程中有,在旧的tomcat版本中,如果不加,会出问题,新的版本中加了会有问题,删除这个包,重启,ok

原文:http://www.cnblogs.com/Leo_wl/p/5065259.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!