Tomcat 开发web项目报Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool.impl.CursorableLinkedList$Cursor]. 错误

时间:2020-12-06 16:36:41

开发Java web项目,在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就不报了