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包有冲突。
文章来源:https://www.toymoban.com/news/detail-591525.html
记录一下,别扭了我好长时间文章来源地址https://www.toymoban.com/news/detail-591525.html
到了这里,关于java.lang.IllegalStateException: Illegal access: this web application instance has been stopped的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!