org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'

Google Groups | Michael | 7 years ago
  1. 0

    Deployment Problem

    Google Groups | 7 years ago | Michael
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'
  2. 0

    org.hibernate.exception.GenericJDBCException: Cannot open connection

    Coderanch | 4 years ago | rucha kulkarni
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  3. 0

    JIRA - User - Error when upgrading to 4 -cannot load JDBC driver

    nabble.com | 1 year ago
    com.atlassian.jira.exception.DataAccessException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'net.sourceforge.jtds.jdbc.Driver'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat6 ignores web-inf/lib

    Stack Overflow | 5 years ago | stackoverflower
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'

  1. gehel 1 times, last 5 days ago
  2. davidvanlaatum 3 times, last 5 days ago
  3. danleyb2Interintel 1 times, last 1 week ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. Kialandei 1 times, last 2 weeks ago
49 more registered users
46 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.lang.ClassNotFoundException

    org.hsqldb.jdbcDriver

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    6. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    7. java.lang.Class.forName0(Native Method)
    8. java.lang.Class.forName(Class.java:169)
    8 frames
  3. org.apache.tomcat
    BasicDataSource.getConnection
    1. org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
    2. org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    2 frames
  4. Hibernate
    LocalDataSourceConnectionProvider.getConnection
    1. org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
    1 frame
  5. Hibernate
    QueryLoader.list
    1. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
    2. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
    3. org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
    4. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
    5. org.hibernate.loader.Loader.doQuery(Loader.java:673)
    6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    7. org.hibernate.loader.Loader.doList(Loader.java:2213)
    8. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
    9. org.hibernate.loader.Loader.list(Loader.java:2099)
    10. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
    10 frames
  6. Hibernate HQL/JP-QL Parser
    QueryTranslatorImpl.list
    1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
    1 frame
  7. Hibernate
    QueryImpl.list
    1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
    2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
    3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    3 frames
  8. Hibernate
    HibernateTemplate.find
    1. org.springframework.orm.hibernate3.HibernateTemplate$30.doInHibernate(HibernateTemplate.java:926)
    2. org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
    3. org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
    4. org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:917)
    4 frames
  9. cn.net.openid
    JosServiceImpl.parseDomain
    1. cn.net.openid.jos.dao.hibernate.BaseHibernateEntityDao.find(BaseHibernateEntityDao.java:95)
    2. cn.net.openid.jos.dao.hibernate.BaseHibernateEntityDao.findUnique(BaseHibernateEntityDao.java:142)
    3. cn.net.openid.jos.dao.hibernate.HibernateDomainDao.getDomainByName(HibernateDomainDao.java:58)
    4. cn.net.openid.jos.service.JosServiceImpl.getDomainByName(JosServiceImpl.java:647)
    5. cn.net.openid.jos.service.JosServiceImpl.parseDomain(JosServiceImpl.java:459)
    5 frames
  10. 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:597)
    4 frames
  11. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    3 frames
  12. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    1 frame
  13. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    2 frames
  14. Unknown
    $Proxy0.parseDomain
    1. $Proxy0.parseDomain(Unknown Source)
    1 frame
  15. cn.net.openid
    DomainFilter.doFilterInternal
    1. cn.net.openid.jos.web.filter.DomainFilter.parseDomain(DomainFilter.java:165)
    2. cn.net.openid.jos.web.filter.DomainFilter.doFilterInternal(DomainFilter.java:133)
    2 frames
  16. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    2. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
    3. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    3 frames
  17. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  18. Hibernate
    OpenSessionInViewFilter.doFilterInternal
    1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
    1 frame
  19. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    1 frame
  20. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  21. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    2 frames
  22. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  23. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    2 frames
  24. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    9 frames
  25. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    3 frames
  26. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame