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

Server Fault | grw | 6 years ago
  1. 0

    Java class issue on Debian 6: java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool

    Server Fault | 6 years ago | grw
    java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
  2. 0

    Getting NoClassDefFoundError from Groovy sql.eachRow function

    Stack Overflow | 2 years ago
    java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList at org.apache.commons.pool.impl.GenericObjectPool.<init>(GenericObjectPool.java:392) at org.apache.commons.pool.impl.GenericObjectPool.<init>(GenericObjectPool.java:258)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Tomcat 5.5 SEVERE: Error listenerStart

    Coderanch | 8 years ago | Bibin Zacharias
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'userDao' while setting bean property 'userDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlMapClientTemplate' while setting bean property 'sqlMapClientTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClientTemplate' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/pool/impl/GenericObjectPool

      at org.apache.commons.dbcp.BasicDataSource.createConnectionPool()
    2. Commons DBCP
      BasicDataSource.getConnection
      1. org.apache.commons.dbcp.BasicDataSource.createConnectionPool(BasicDataSource.java:1492)[na:Nightly-201002202152]
      2. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1374)[na:Nightly-201002202152]
      3. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)[na:Nightly-201002202152]
      3 frames
    3. org.fcrepo.server
      RebuildServer.<init>
      1. org.fcrepo.server.storage.ConnectionPool.getConnection(ConnectionPool.java:283)[fcrepo-server-3.4.jar:na]
      2. org.fcrepo.server.utilities.SQLUtilityImpl.i_createNonExistingTables(SQLUtilityImpl.java:281)[fcrepo-server-3.4.jar:na]
      3. org.fcrepo.server.utilities.SQLUtility.createNonExistingTables(SQLUtility.java:146)[fcrepo-server-3.4.jar:na]
      4. org.fcrepo.server.utilities.rebuild.RebuildDOManager.postInitModule(RebuildDOManager.java:130)[fcrepo-server-3.4.jar:na]
      5. org.fcrepo.server.Server.<init>(Server.java:636)[fcrepo-server-3.4.jar:na]
      6. org.fcrepo.server.utilities.rebuild.RebuildServer.<init>(RebuildServer.java:43)[fcrepo-server-3.4.jar:na]
      6 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.6.0_21]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.6.0_21]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.6.0_21]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)[na:1.6.0_21]
      4 frames
    5. org.fcrepo.server
      Rebuild.main
      1. org.fcrepo.server.utilities.rebuild.RebuildServer.getRebuildInstance(RebuildServer.java:120)[fcrepo-server-3.4.jar:na]
      2. org.fcrepo.server.utilities.rebuild.Rebuild.getServer(Rebuild.java:173)[fcrepo-server-3.4.jar:na]
      3. org.fcrepo.server.utilities.rebuild.SQLRebuilder.start(SQLRebuilder.java:111)[fcrepo-server-3.4.jar:na]
      4. org.fcrepo.server.utilities.rebuild.Rebuild.<init>(Rebuild.java:106)[fcrepo-server-3.4.jar:na]
      5. org.fcrepo.server.utilities.rebuild.Rebuild.main(Rebuild.java:394)[fcrepo-server-3.4.jar:na]
      5 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_21]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_21]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_21]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_21]
      4 frames
    7. org.fcrepo.server
      CLILoader.main
      1. org.fcrepo.server.utilities.rebuild.cli.CLILoader.main(CLILoader.java:77)[fcrepo-server-3.4-cli-loader-main.jar:na]
      1 frame