启动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: in the generated java file:
The method getDispatcherType() is undefined for the type HttpServletRequest
已邀请:

要回复问题请先登录注册