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

Samebug tips

  1. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. Seems you are missing hibernate dependency in your project set up. Try downloading hibernate-core.jar and add to your project classpath.

Solutions on the web

via toadworld.com by Unknown author, 1 year ago
Unable to create EvictionPolicy instance of type org.apache.commons.pool2.impl.DefaultEvictionPolicy
via Apache's JIRA Issue Tracker by Krzysztof Sobkowiak, 1 year ago
Unable to create EvictionPolicy instance of type org.apache.commons.pool2.impl.DefaultEvictionPolicy
java.lang.IllegalArgumentException: Unable to create EvictionPolicy instance of type org.apache.commons.pool2.impl.DefaultEvictionPolicy at org.apache.commons.pool2.impl.BaseGenericObjectPool.setEvictionPolicyClassName(BaseGenericObjectPool.java:607) at org.apache.commons.pool2.impl.GenericObjectPool.setConfig(GenericObjectPool.java:321) at org.apache.commons.pool2.impl.GenericObjectPool.<init>(GenericObjectPool.java:117) at org.apache.commons.pool2.impl.GenericObjectPool.<init>(GenericObjectPool.java:90) at com.dell.toadext.sql.executor.AbstractExecutorPool$ExecutorPool.<init>(Unknown Source) at com.dell.toadext.sql.executor.AbstractExecutorPool.<init>(Unknown Source) at com.dell.toadext.sql.executor.AbstractSqlExecutorPool.<init>(Unknown Source) at com.dell.toadext.oracle.sql.executor.pool.OraSqlExecutorPool.<init>(Unknown Source) at com.dell.toadext.oracle.core.OracleConnector.createSqlExecutorPool(Unknown Source) at com.dell.toadext.core.AbstractConnector.initSqlExecutorPool(Unknown Source) at com.dell.toadext.core.AbstractConnector.connect(Unknown Source) at com.dell.toadext.oracle.core.OracleConnector.logon(Unknown Source) at com.dell.toadext.ui.jobs.LogonJob$InternalLogonJob.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool2.impl.DefaultEvictionPolicy at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.apache.commons.pool2.impl.BaseGenericObjectPool.setEvictionPolicyClassName(BaseGenericObjectPool.java:598) ... 13 more