Tomcat报错 Illegal access: this web application instance has been stopped already. Could not load

Posted huashengweilong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tomcat报错 Illegal access: this web application instance has been stopped already. Could not load相关的知识,希望对你有一定的参考价值。

用Tomcat运行项目报错:

Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool.impl.CursorableLinkedList$Cursor].
The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

解决方法:

将commons-pool依赖的版本改为1.4

参考博客:

Tomcat 开发web项目报Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool.impl.CursorableLinkedList$Cursor]. 错误 - March On - 博客园
https://www.cnblogs.com/z-sm/p/5703345.html

以上是关于Tomcat报错 Illegal access: this web application instance has been stopped already. Could not load的主要内容,如果未能解决你的问题,请参考以下文章

Tomcat多应用启动报错:org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal

Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/D:/apache-maven-

获取 Java 中 `-illegal-access` 设置的当前值

如何将 Java 9 '--permit-illegal-access' 标志传递给 Webstart 应用程序?

无法识别的选项:运行 cordova build android 时 --illegal-access=permit

NoClassDefFoundError/ClassNotFoundException/Illegal access