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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
at org.apache.commons.dbcp.BasicDataSource.createConnectionPool(BasicDataSource.java:1492)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1374)
at org.fcrepo.server.storage.ConnectionPool.getConnection(ConnectionPool.java:283)
at org.fcrepo.server.utilities.SQLUtilityImpl.i_createNonExistingTables(SQLUtilityImpl.java:281)
at org.fcrepo.server.utilities.SQLUtility.createNonExistingTables(SQLUtility.java:146)
at org.fcrepo.server.utilities.rebuild.RebuildDOManager.postInitModule(RebuildDOManager.java:130)
at org.fcrepo.server.Server.(Server.java:636)
at org.fcrepo.server.utilities.rebuild.RebuildServer.(RebuildServer.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at org.fcrepo.server.utilities.rebuild.RebuildServer.getRebuildInstance(RebuildServer.java:120)
at org.fcrepo.server.utilities.rebuild.Rebuild.getServer(Rebuild.java:173)
at org.fcrepo.server.utilities.rebuild.SQLRebuilder.start(SQLRebuilder.java:111)
at org.fcrepo.server.utilities.rebuild.Rebuild.(Rebuild.java:106)
at org.fcrepo.server.utilities.rebuild.Rebuild.main(Rebuild.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.fcrepo.server.utilities.rebuild.cli.CLILoader.main(CLILoader.java:77)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.