【Tomcat】【3】报错 Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool.impl.CursorableLinkedList$Cursor]

用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

相关文章