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

atlassian.net | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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