日常问题记录--访问JSP文件时The method getDispatcherType() is undefined for the type HttpServletRequest
2015-02-27 14:46
796 查看
问题现象:
访问任一jsp(即使是空白文件)文件报The method getDispatcherType() is undefined for the type HttpServletRequest错误。
定位:
根据错误提示,查询到getDispatcher位于servlet-api.jar包中。
反编译tomcat/webapp/proj/lib中的servelt-api.jar,发现确实没有这个方法;
问题解决:
清理这个包,删除之,并升级到最新的servelt-api包。解决;
访问任一jsp(即使是空白文件)文件报The method getDispatcherType() is undefined for the type HttpServletRequest错误。
定位:
根据错误提示,查询到getDispatcher位于servlet-api.jar包中。
反编译tomcat/webapp/proj/lib中的servelt-api.jar,发现确实没有这个方法;
问题解决:
清理这个包,删除之,并升级到最新的servelt-api包。解决;
相关文章推荐
- Java 被访问时报 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”
- jsp 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
- 解决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
- 升级到tomcat8遇到The method getDispatcherType() is undefined for the type HttpServletRequest
- The method getDispatcherType() is undefined for the type HttpServletRequest 升级到tomcat8
- 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
- Web crash: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”