The method getDispatcherType() is undefined for the type HttpServletRequest 5
你好Servlet.service()forservlet[jsp]incontextwithpath[]threwexception[Unabletocompilecl...
你好 Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to compile class for JSP:
An error occurred at line: [42] in the generated java file: [/Users/wanghaixiao/Documents/dev/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/ROOT/org/apache/jsp/domain_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest
这个问你是怎么解决的呢 展开
An error occurred at line: [42] in the generated java file: [/Users/wanghaixiao/Documents/dev/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/ROOT/org/apache/jsp/domain_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest
这个问你是怎么解决的呢 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏5(财富值+成长值)
2017-08-20
展开全部
从网上查资料,找可能出现这个问题的因素:1可能是环境变量,检查了没问题2有人说jar包冲突对于servlet-api.jar这个包,原来工程中有,在旧的tomcat版本中,如果不加,会出问题,新的版本中加了会有问题,删除这个包,重启,ok
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |