用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运行项目时遇到的Illegalaccess错误,并提供了具体的解决方法,即通过更改commons-pool依赖的版本到1.4来修复问题。
6万+

被折叠的 条评论
为什么被折叠?



