The method getDispatcherType() is undefined for the type HttpServletRequest 升级到tomcat8
2015-03-23 12:23
561 查看
配置项目,从tomcat低版本,放到tomcat8时,正常的项目居然报错了:
The method getDispatcherType() is undefined for the type HttpServletRequest
从网上查资料,找可能出现这个问题的因素:
1可能是环境变量,检查了没问题
2有人说jar包冲突
对于servlet-api.jar这个包,原来工程中有,在旧的tomcat版本中,如果不加,会出问题,新的版本中加了会有问题,删除这个包,重启,ok
The method getDispatcherType() is undefined for the type HttpServletRequest
从网上查资料,找可能出现这个问题的因素:
1可能是环境变量,检查了没问题
2有人说jar包冲突
对于servlet-api.jar这个包,原来工程中有,在旧的tomcat版本中,如果不加,会出问题,新的版本中加了会有问题,删除这个包,重启,ok
相关文章推荐
- 升级到tomcat8遇到The method getDispatcherType() is undefined for the type HttpServletRequest
- 升级到tomcat8遇到The method getDispatcherType() is undefined for the type HttpServletRequest
- The method getDispatcherType() is undefined for the type HttpServletRequest 升级到tomcat8(转)
- 部署Tomcat8遇到的 “The method getDispatcherType() is undefined for the type HttpServletRequest” 问题
- The method getDispatcherType() is undefined for the type HttpServletRequest解决办法
- the method getDispatcherType() is undefined for the type HttpServletRequest
- The method getDispatcherType() is undefined for the type HttpServletRequest
- jsp The method getDispatcherType() is undefined for the type HttpServletRequest
- 问题“The method getDispatcherType() is undefined for the type HttpServletRequest”
- Spring找不到方法:The method getDispatcherType() is undefined for the type HttpServletRequest
- 解决The method getDispatcherType() is undefined for the type HttpServletRequest
- The method getDispatcherType() is undefined for the type HttpServletRequest
- The method getDispatcherType() is undefined for the type HttpServletRequest
- “The method getDispatcherType() is undefined for the type HttpServletRequest”
- Java 被访问时报 the method getDispatcherType() is undefined for the type HttpServletRequest
- The method getDispatcherType() is undefined for the type HttpServletRequest
- 日常问题记录--访问JSP文件时The method getDispatcherType() is undefined for the type HttpServletRequest
- The method getDispatcherType() is undefined for the type HttpServletRequest的解决方法
- The method getDispatcherType() is undefined for the type HttpServletRequest
- Web crash:The method getDispatcherType() is undefined for the type HttpServletRequest