Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. BasicDataSource.getConnection() has thrown a SQLNestedException
    Commons DBCP
    3
    0
    0
  2. BasicDataSource.createDataSource() has thrown a SQLNestedException
    Commons DBCP
    3
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.sql.SQLException: No suitable driver
2 matching frames hidden
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL ' jdbc:oracle:thin:@db.domain:1521:DEV01 '
1 matching frame hidden
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:58)
35 frames hidden

External results for this pattern (3)

  1. Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot create JDBC driver of class 'oracle.jdbc.driver.OracleDriver' for connect URL ' jdbc:oracle:thin:@db.domain:1521:DEV01 '
    Show stack trace
  2. HoJunLeevia Stack Overflow10 months ago
    Cannot create JDBC driver of class 'net.sf.log4jdbc.sql.jdbcapi.DriverSpy' for connect URL 'jdbc:log4jdbc:edb://218.145.26.12:5445/dementia'
    Show stack trace
  3. There were errors initializing your configuration: <openjpa-2.3.0-r422266:1540826 fatal user error> org.apache.openjpa.util.UserException: A connection could not be obtained for driver class "org.apache.derby.jdbc.ClientDriver" and URL "jdbc:derby:/home/ijk/MyDbTest;create=true". You may have specified an invalid URL.
    Show stack trace