Tomcat8.0启动项目报错,项目是导入到Myeclipse里的?
Anerroroccurredatline:[43]inthegeneratedjavafile:[C:\ProgramFiles\ApacheSoftwareFound...
An error occurred at line: [43] in the generated java file: [C:\Program Files\Apache Software Foundation\apache-tomcat-8.0.15\work\Catalina\localhost\MVN_AS\org\apache\jsp\index_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [43] in the generated java file: [C:\Program Files\Apache Software Foundation\apache-tomcat-8.0.15\work\Catalina\localhost\MVN_AS\org\apache\jsp\index_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest 展开
The method getDispatcherType() is undefined for the type HttpServletRequest
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [43] in the generated java file: [C:\Program Files\Apache Software Foundation\apache-tomcat-8.0.15\work\Catalina\localhost\MVN_AS\org\apache\jsp\index_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询