更新代码后,启动tomcat时遇到一个很坑的异常:

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-poo这个包用1.4版本

引起的原因大致是引用了某些包引起的冲突,解决办法是把maven本地仓库下面的com全部删除,然后重新编译打包,要注意是否对moudle下面的pom.xml有改动

 

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐