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

atlassian.net | 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

    [PLAYSQL-141] Unable to create EvictionPolicy instance of type org.apache.tomcat.dbcp.pool2.impl.DefaultEvictionPolicy - Play SQL Issue Tracker

    atlassian.net | 7 months ago
    java.lang.IllegalArgumentException: Unable to create EvictionPolicy instance of type org.apache.tomcat.dbcp.pool2.impl.DefaultEvictionPolicy

    Root Cause Analysis

    1. 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()
    2. org.apache.tomcat
      BasicDataSource.getConnection
      1. org.apache.tomcat.dbcp.pool2.impl.BaseGenericObjectPool.setEvictionPolicyClassName(BaseGenericObjectPool.java:605)
      2. org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.setConfig(GenericObjectPool.java:318)
      3. org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.<init>(GenericObjectPool.java:114)
      4. org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createConnectionPool(BasicDataSource.java:2110)
      5. org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:1962)
      6. org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1412)
      6 frames
    3. com.playsql.dialect
      JdbcWrapper.openConnection
      1. com.playsql.dialect.api.JdbcWrapper.openConnection(JdbcWrapper.java:62)
      1 frame
    4. com.playsql.core
      PlaySqlConnectorImpl.execute
      1. com.playsql.core.core.PlaySqlConnectorImpl.open(PlaySqlConnectorImpl.java:269)
      2. com.playsql.core.core.PlaySqlConnectorImpl.execute(PlaySqlConnectorImpl.java:107)
      2 frames