net.sf.hibernate.HibernateException: JDBC Driver class not found: org.hsqldb.jdbcDriver

Hibernate JIRA | Slava Imeshev | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    hibernate-2.0.1.zip @ 07/17/2003 doesn't have hsqldb.jar thought the build.xml refers to it. As a result "build junit" command fails as in [junit] INFO: Hibernate connection pool size: 1 [junit] Jul 18, 2003 10:45:24 AM net.sf.hibernate.connection.DriverManagerConnectionProvider configure [junit] SEVERE: JDBC Driver class not found: org.hsqldb.jdbcDriver [junit] net.sf.hibernate.HibernateException: JDBC Driver class not found: org.hsqldb.jdbcDriver [junit] at net.sf.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnecti onProvider.java:57) [junit] at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProvi derFactory.java:83) [junit] at net.sf.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:109) [junit] at net.sf.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:78) [junit] at net.sf.hibernate.test.TestCase.exportSchema(TestCase.java:32) [junit] at net.sf.hibernate.test.SQLFunctionsTest.suite(SQLFunctionsTest.java:277) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:324) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:25 7) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:21 0) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532) [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Jul 18, 2003 10:45:24 AM net.sf.hibernate.connection.DriverManagerConnectionProvider close [junit] INFO: cleaning up connection pool: null [junit] TEST net.sf.hibernate.test.SQLFunctionsTest FAILED

    Hibernate JIRA | 1 decade ago | Slava Imeshev
    net.sf.hibernate.HibernateException: JDBC Driver class not found: org.hsqldb.jdbcDriver
  2. 0

    hibernate-2.0.1.zip @ 07/17/2003 doesn't have hsqldb.jar thought the build.xml refers to it. As a result "build junit" command fails as in [junit] INFO: Hibernate connection pool size: 1 [junit] Jul 18, 2003 10:45:24 AM net.sf.hibernate.connection.DriverManagerConnectionProvider configure [junit] SEVERE: JDBC Driver class not found: org.hsqldb.jdbcDriver [junit] net.sf.hibernate.HibernateException: JDBC Driver class not found: org.hsqldb.jdbcDriver [junit] at net.sf.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnecti onProvider.java:57) [junit] at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProvi derFactory.java:83) [junit] at net.sf.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:109) [junit] at net.sf.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:78) [junit] at net.sf.hibernate.test.TestCase.exportSchema(TestCase.java:32) [junit] at net.sf.hibernate.test.SQLFunctionsTest.suite(SQLFunctionsTest.java:277) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:324) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:25 7) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:21 0) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532) [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] Jul 18, 2003 10:45:24 AM net.sf.hibernate.connection.DriverManagerConnectionProvider close [junit] INFO: cleaning up connection pool: null [junit] TEST net.sf.hibernate.test.SQLFunctionsTest FAILED

    Hibernate JIRA | 1 decade ago | Slava Imeshev
    net.sf.hibernate.HibernateException: JDBC Driver class not found: org.hsqldb.jdbcDriver

    Root Cause Analysis

    1. net.sf.hibernate.HibernateException

      JDBC Driver class not found: org.hsqldb.jdbcDriver

      at net.sf.hibernate.connection.DriverManagerConnectionProvider.configure()
    2. net.sf.hibernate
      SQLFunctionsTest.suite
      1. net.sf.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:57)
      2. net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
      3. net.sf.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:109)
      4. net.sf.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:78)
      5. net.sf.hibernate.test.TestCase.exportSchema(TestCase.java:32)
      6. net.sf.hibernate.test.SQLFunctionsTest.suite(SQLFunctionsTest.java:277)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    4. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:257)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532)
      3 frames