启动tomcat容器来跑JAVA项目有问题


同样的tomcat , java , 工程源码, 环境变量
在主机上跑没有任何问题。
放在容器里面跑,项目启动成功。。但是打开网页就报错
type Exception report

message Unable to compile class for JSP:

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [102] in the generated java file: [/root/apache-tomcat-8.0.22/work/Catalina/localhost/vc3/org/apache/jsp/WEB_002dINF/pages/modules/portal/index_jsp.java]
The method getDispatcherType() is undefined for the type HttpServletRequest
已邀请:

要回复问题请先登录注册