java.lang.IllegalArgumentException: Unable to create EvictionPolicy instance of type org.apache.commons.pool2.impl.DefaultEvictionPolicy

toadworld.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Toad Extension for Eclipse Forum - Toad Extension for Eclipse - Toad World

    toadworld.com | 7 months ago
    java.lang.IllegalArgumentException: Unable to create EvictionPolicy instance of type org.apache.commons.pool2.impl.DefaultEvictionPolicy
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Using javah maven-antrun-plugin with jdk 1.7, classes.jar became tools.jar

    Stack Overflow | 5 years ago | justingordon
    java.lang.ClassNotFoundException: com.sun.tools.javah.Main at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java :50)
  4. 0

    tomcat7-maven-plugin extraDependency seems not being loaded

    Stack Overflow | 5 years ago | Zdenek F
    java.lang.ClassNotFoundException: org.postgresql.Driver
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.ClassNotFoundException

    org.apache.commons.pool2.impl.DefaultEvictionPolicy

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
    4. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    4 frames
  3. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:348)
    2 frames
  4. Apache Commons Pool
    GenericObjectPool.<init>
    1. org.apache.commons.pool2.impl.BaseGenericObjectPool.setEvictionPolicyClassName(BaseGenericObjectPool.java:598)
    2. org.apache.commons.pool2.impl.GenericObjectPool.setConfig(GenericObjectPool.java:321)
    3. org.apache.commons.pool2.impl.GenericObjectPool.<init>(GenericObjectPool.java:117)
    4. org.apache.commons.pool2.impl.GenericObjectPool.<init>(GenericObjectPool.java:90)
    4 frames
  5. com.dell.toadext
    LogonJob$InternalLogonJob.run
    1. com.dell.toadext.sql.executor.AbstractExecutorPool$ExecutorPool.<init>(Unknown Source)
    2. com.dell.toadext.sql.executor.AbstractExecutorPool.<init>(Unknown Source)
    3. com.dell.toadext.sql.executor.AbstractSqlExecutorPool.<init>(Unknown Source)
    4. com.dell.toadext.oracle.sql.executor.pool.OraSqlExecutorPool.<init>(Unknown Source)
    5. com.dell.toadext.oracle.core.OracleConnector.createSqlExecutorPool(Unknown Source)
    6. com.dell.toadext.core.AbstractConnector.initSqlExecutorPool(Unknown Source)
    7. com.dell.toadext.core.AbstractConnector.connect(Unknown Source)
    8. com.dell.toadext.oracle.core.OracleConnector.logon(Unknown Source)
    9. com.dell.toadext.ui.jobs.LogonJob$InternalLogonJob.run(Unknown Source)
    9 frames
  6. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame