java.lang.IllegalStateException: Illegal access: this web application instance has been stopped
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already.Could not load [**]. The following stack trace is thrown for debugging purposes as well as to at
·
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already.
Could not load [org.apache.logging.log4j.core.impl.Log4jLogEvent$Builder]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
部署web项目出现在这个问题,其他web项目同样的环境配置没问题,试了修改tomcat的server.xml,将其中的Context的reloadable设成false,或添加:
<Context path="/expert" docBase="expert" debug="0" reloadable="false">
都没能解决。
最后尝试换了个jdk,问题解决,个人认为可能是项目的jar包与jdk的jar包有冲突。
记录一下,别扭了我好长时间
更多推荐
已为社区贡献1条内容
所有评论(0)