org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver

Pentaho BI Platform Tracking | Ramaiz Mansoor | 7 years ago
  1. 0

    FATAL DriverManagerConnectionProvider - JDBC Driver class not found: org.h2.Driver java.lang.ClassNotFoundException: org.h2.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100) at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:61) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298) at com.pentaho.mgmt.core.repository.Repository.initialize(Repository.java:92) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.initialize(ManagedPlatformRepository.java:47) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.<init>(ManagedPlatformRepository.java:24) at com.pentaho.pac.server.PacProServiceImpl.initialze(PacProServiceImpl.java:158) at com.pentaho.pac.server.PacProServiceImpl.init(PacProServiceImpl.java:147) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:616) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.pentaho.pac.server.JettyServer.startServer(JettyServer.java:152) at org.pentaho.pac.server.JettyServer.<init>(JettyServer.java:89) at com.pentaho.pac.server.ProJettyServer.<init>(ProJettyServer.java:31) at com.pentaho.pac.server.ProJettyServer.main(ProJettyServer.java:115) ERROR Repository - Repository.ERROR_0006 - Building SessionFactory failed. org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:66) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298) at com.pentaho.mgmt.core.repository.Repository.initialize(Repository.java:92) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.initialize(ManagedPlatformRepository.java:47) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.<init>(ManagedPlatformRepository.java:24) at com.pentaho.pac.server.PacProServiceImpl.initialze(PacProServiceImpl.java:158) at com.pentaho.pac.server.PacProServiceImpl.init(PacProServiceImpl.java:147) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:616) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.pentaho.pac.server.JettyServer.startServer(JettyServer.java:152) at org.pentaho.pac.server.JettyServer.<init>(JettyServer.java:89) at com.pentaho.pac.server.ProJettyServer.<init>(ProJettyServer.java:31) at com.pentaho.pac.server.ProJettyServer.main(ProJettyServer.java:115) Caused by: java.lang.ClassNotFoundException: org.h2.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100) at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:61)

    Pentaho BI Platform Tracking | 7 years ago | Ramaiz Mansoor
    org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver
  2. 0

    FATAL DriverManagerConnectionProvider - JDBC Driver class not found: org.h2.Driver java.lang.ClassNotFoundException: org.h2.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100) at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:61) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298) at com.pentaho.mgmt.core.repository.Repository.initialize(Repository.java:92) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.initialize(ManagedPlatformRepository.java:47) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.<init>(ManagedPlatformRepository.java:24) at com.pentaho.pac.server.PacProServiceImpl.initialze(PacProServiceImpl.java:158) at com.pentaho.pac.server.PacProServiceImpl.init(PacProServiceImpl.java:147) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:616) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.pentaho.pac.server.JettyServer.startServer(JettyServer.java:152) at org.pentaho.pac.server.JettyServer.<init>(JettyServer.java:89) at com.pentaho.pac.server.ProJettyServer.<init>(ProJettyServer.java:31) at com.pentaho.pac.server.ProJettyServer.main(ProJettyServer.java:115) ERROR Repository - Repository.ERROR_0006 - Building SessionFactory failed. org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:66) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298) at com.pentaho.mgmt.core.repository.Repository.initialize(Repository.java:92) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.initialize(ManagedPlatformRepository.java:47) at com.pentaho.mgmt.core.repository.ManagedPlatformRepository.<init>(ManagedPlatformRepository.java:24) at com.pentaho.pac.server.PacProServiceImpl.initialze(PacProServiceImpl.java:158) at com.pentaho.pac.server.PacProServiceImpl.init(PacProServiceImpl.java:147) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:616) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.pentaho.pac.server.JettyServer.startServer(JettyServer.java:152) at org.pentaho.pac.server.JettyServer.<init>(JettyServer.java:89) at com.pentaho.pac.server.ProJettyServer.<init>(ProJettyServer.java:31) at com.pentaho.pac.server.ProJettyServer.main(ProJettyServer.java:115) Caused by: java.lang.ClassNotFoundException: org.h2.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100) at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:61)

    Pentaho BI Platform Tracking | 7 years ago | Ramaiz Mansoor
    org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver
  3. 0

    H2 database org.h2.Driver ClassNotFoundException

    Stack Overflow | 5 years ago | Timii
    java.lang.ClassNotFoundException: org.h2.Driver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 608#160751824

    GitHub | 1 year ago | michaeljmcd
    java.lang.ClassNotFoundException: org.h2.Driver
  6. 0

    H2 database in Jboss Fuse

    Stack Overflow | 11 months ago | user3258331
    org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: driverClassName, getter: null, setter: [class org.springframework.jdbc.datasource.DriverManagerDataSource.setDriverClassName(class java.lang.String)]

  1. gehel 1 times, last 1 week ago
  2. malhobayyeb 3 times, last 6 days ago
  3. Kialandei 1 times, last 1 week ago
  4. Indri Yunita 1 times, last 1 week ago
  5. Alexandru Popa 2 times, last 2 weeks ago
47 more registered users
48 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.h2.Driver

    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:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    7. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    8. java.lang.Class.forName0(Native Method)
    9. java.lang.Class.forName(Class.java:164)
    9 frames
  3. Hibernate
    DriverManagerConnectionProvider.configure
    1. org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
    2. org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:61)
    2 frames