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

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

via atlassian.net by Unknown author, 1 year ago
Unable to create EvictionPolicy instance of type org.apache.tomcat.dbcp.pool2.impl.DefaultEvictionPolicy
java.lang.IllegalArgumentException: Unable to create EvictionPolicy instance of type org.apache.tomcat.dbcp.pool2.impl.DefaultEvictionPolicy
at org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setEvictionPolicyClassName(BaseGenericObjectPool.java:605)
at org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.setConfig(GenericObjectPool.java:318)
at org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.(GenericObjectPool.java:114)
at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createConnectionPool(BasicDataSource.java:2110)
at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:1962)
at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1412)
at com.playsql.dialect.api.JdbcWrapper.openConnection(JdbcWrapper.java:62)
at com.playsql.core.core.PlaySqlConnectorImpl.open(PlaySqlConnectorImpl.java:269)
at com.playsql.core.core.PlaySqlConnectorImpl.execute(PlaySqlConnectorImpl.java:107)

Users with the same issue

You are the first who have seen this exception.

Write tip

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