java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool

最后都变了- 提交于 2019-11-30 20:26:52

This happened to me for the tomcat6 package on Mint 15. The installation had /usr/share/tomcat6/lib/commons-pool.jar -> ../../java/commons-pool.jar but /usr/share/java/commons-pool.jar -> commons-pool-1.5.6.jar was broken. Copying it from my local Maven repo sudo cp ~/.m2/repository/commons-pool/commons-pool/1.5.6/commons-pool-1.5.6.jar /usr/share/java fixed it for me.

It seems the 'commons-pool' jar is not being deployed. If you are using eclipse, you can check which jars are deployed by going to the project's properties, and clicking Deployment Assembly.

May be your commons-pool-x.x.x.jar is not present in your lib folder in deployed folder this can be solved by copying this jar file in apache-tomcat-7.0.54\lib folder

I too faced some problem, in my repo commons-pool2-2.1.jar is not downloaded properly. we need to download correct jar.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!