java.sql.SQLException: No suitable driver

Hibernate JIRA | Brett Meyer | 4 years ago
  1. 0

    {code} java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:289)[:1.7.0_06] at com.mchange.v2.c3p0.DriverManagerDataSource.driver(DriverManagerDataSource.java:224)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] {code} {code} org.logicalcobwebs.proxool.ProxoolException: Couldn't load class org.h2.Driver {code} They're not able to find the connection driver. Attempt to override TCCL within the connection provider?

    Hibernate JIRA | 4 years ago | Brett Meyer
    java.sql.SQLException: No suitable driver
  2. 0

    {code} java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:289)[:1.7.0_06] at com.mchange.v2.c3p0.DriverManagerDataSource.driver(DriverManagerDataSource.java:224)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)[68:wrap_mvn_c3p0_c3p0_0.9.1:0] {code} {code} org.logicalcobwebs.proxool.ProxoolException: Couldn't load class org.h2.Driver {code} They're not able to find the connection driver. Attempt to override TCCL within the connection provider?

    Hibernate JIRA | 4 years ago | Brett Meyer
    java.sql.SQLException: No suitable driver
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    liferay problems for connecting to postgres

    Stack Overflow | 3 years ago | sahar zangenehpour
    java.sql.SQLException: No suitable driver

  1. silex 1 times, last 7 months ago
14 unregistered visitors
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.sql.SQLException

    No suitable driver

    at java.sql.DriverManager.getDriver()
  2. Java RT
    DriverManager.getDriver
    1. java.sql.DriverManager.getDriver(DriverManager.java:289)[:1.7.0_06]
    1 frame
  3. c3p0:JDBC DataSources/Resource Pools
    ThreadPoolAsynchronousRunner$PoolThread.run
    1. com.mchange.v2.c3p0.DriverManagerDataSource.driver(DriverManagerDataSource.java:224)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    2. com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    3. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    4. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    5. com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    6. com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    7. com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    8. com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    9. com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)[68:wrap_mvn_c3p0_c3p0_0.9.1:0]
    9 frames