javax.jdo.JDOFatalUserException: Invalid datastore driver class "mysql-connector-java-3.1.11-bin" : maybe you havent specified the JDBC driver JAR in your CLASSPATH, or the name of the class is incorrect.

romaframework | erandika | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Invalid datastore driver class -- mysql

    romaframework | 1 decade ago | erandika
    javax.jdo.JDOFatalUserException: Invalid datastore driver class "mysql-connector-java-3.1.11-bin" : maybe you havent specified the JDBC driver JAR in your CLASSPATH, or the name of the class is incorrect.

    Root Cause Analysis

    1. javax.jdo.JDOFatalUserException

      Invalid datastore driver class "mysql-connector-java-3.1.11-bin" : maybe you havent specified the JDBC driver JAR in your CLASSPATH, or the name of the class is incorrect.

      at org.jpox.datasource.DriverManagerDataSource.<init>()
    2. org.jpox.datasource
      DriverManagerDataSource.<init>
      1. org.jpox.datasource.DriverManagerDataSource.<init>(DriverManagerDataSource.java:85)
      1 frame
    3. org.jpox
      PersistenceManagerFactoryImpl.getPersistenceManagerFactory
      1. org.jpox.AbstractPersistenceManagerFactory.freezeConfiguration(AbstractPersistenceManagerFactory.java:257)
      2. org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:99)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. JDO API
      JDOHelper.getPersistenceManagerFactory
      1. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)
      2. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:478)
      2 frames
    6. org.romaframework.aspect
      JDOPersistenceAspect.aspectStartup
      1. org.romaframework.aspect.persistence.jdo.JDOPersistenceAspect.aspectStartup(JDOPersistenceAspect.java:185)
      1 frame
    7. org.romaframework.core
      RomaApplicationContext.setup
      1. org.romaframework.core.aspect.AspectManager.startup(AspectManager.java:46)
      2. org.romaframework.core.config.RomaApplicationContext.init(RomaApplicationContext.java:41)
      3. org.romaframework.core.config.RomaApplicationContext.setup(RomaApplicationContext.java:101)
      3 frames
    8. org.romaframework.aspect
      Echo2StartupServlet.init
      1. org.romaframework.aspect.view.echo2.Echo2StartupServlet.init(Echo2StartupServlet.java:45)
      1 frame
    9. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
      2. org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:329)
      3. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405)
      4. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
      5. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
      5 frames
    10. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
      1 frame
    11. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
      1 frame
    12. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
      2. org.mortbay.http.HttpServer.service(HttpServer.java:909)
      3. org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
      4. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
      5. org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
      6. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
      6 frames
    13. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      2 frames