java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Atlassian JIRA | Ajay Sridhar [Atlassian] | 9 years ago
  1. 0

    {noformat} 2008-04-16 14:37:56,515 INFO [main] [lifecycle] Real path of servlet context: /Applications/Bamboo/webapp/ 2008-04-16 14:37:57,135 INFO [main] [DefaultAtlassianBootstrapManager] Running pre-bootstrap upgrade task Renaming tables / columns for compatibility with Oracle and MSSQL Server for buildnumber 706 2008-04-16 14:37:57,157 FATAL [main] [PreBootstrapUpgradeTask706OracleMSSQLFix] Could not get connection to the MySQL database with driver com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.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:316) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.getConnection(PreBootstrapUpgradeTask706OracleMSSQLFix.java:193) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.performSqlUpdates(PreBootstrapUpgradeTask706OracleMSSQLFix.java:118) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.performMySQLUpdate(PreBootstrapUpgradeTask706OracleMSSQLFix.java:89) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.doUpgrade(PreBootstrapUpgradeTask706OracleMSSQLFix.java:57) at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:164) at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:76) at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:59) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-16 14:37:57,166 FATAL [main] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below): Unable to bootstrap Bamboo: null java.lang.IllegalStateException: Unable to bootstrap Bamboo: null at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:62) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) {noformat} Notice {{java.lang.IllegalStateException: Unable to bootstrap Bamboo: null}}. Null should be something useful

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  2. 0

    {noformat} 2008-04-16 14:37:56,515 INFO [main] [lifecycle] Real path of servlet context: /Applications/Bamboo/webapp/ 2008-04-16 14:37:57,135 INFO [main] [DefaultAtlassianBootstrapManager] Running pre-bootstrap upgrade task Renaming tables / columns for compatibility with Oracle and MSSQL Server for buildnumber 706 2008-04-16 14:37:57,157 FATAL [main] [PreBootstrapUpgradeTask706OracleMSSQLFix] Could not get connection to the MySQL database with driver com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.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:316) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.getConnection(PreBootstrapUpgradeTask706OracleMSSQLFix.java:193) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.performSqlUpdates(PreBootstrapUpgradeTask706OracleMSSQLFix.java:118) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.performMySQLUpdate(PreBootstrapUpgradeTask706OracleMSSQLFix.java:89) at com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.doUpgrade(PreBootstrapUpgradeTask706OracleMSSQLFix.java:57) at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:164) at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:76) at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:59) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-16 14:37:57,166 FATAL [main] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below): Unable to bootstrap Bamboo: null java.lang.IllegalStateException: Unable to bootstrap Bamboo: null at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:62) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) {noformat} Notice {{java.lang.IllegalStateException: Unable to bootstrap Bamboo: null}}. Null should be something useful

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  3. 0

    HibernateException: Unable to get the default Bean Validation factory with JRE 7

    Stack Overflow | 3 years ago | user2927978
    javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB- INF/applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ' 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to get the default Bean Validation factory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse + GWT + spring + maven: classnotfoundexception

    Stack Overflow | 4 years ago | grekier
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManager' defined in ServletContext resource [/WEB-INF/database.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: netlight_db] class or package not found
  6. 0

    Problems with Spring Roo DBRE generated Project with GWT

    Stack Overflow | 4 years ago | Georg
    java.lang.ClassNotFoundException: com.sop.connect.server.locator.PersonsLocator

  1. andyglick 2 times, last 4 days ago
  2. richard77 1 times, last 1 week ago
  3. musketyr 2 times, last 1 week ago
  4. michallos 2 times, last 1 week ago
  5. batwalrus76 2 times, last 1 week ago
67 more registered users
28 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

    com.mysql.jdbc.Driver

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    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:316)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    6 frames
  3. Jetty Server
    WebAppClassLoader.loadClass
    1. org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
    2. org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
    2 frames
  4. Java RT
    Class.forName
    1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    2. java.lang.Class.forName0(Native Method)
    3. java.lang.Class.forName(Class.java:164)
    3 frames
  5. com.atlassian.bamboo
    DefaultBootstrapManager.performPersistenceUpgrade
    1. com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.getConnection(PreBootstrapUpgradeTask706OracleMSSQLFix.java:193)
    2. com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.performSqlUpdates(PreBootstrapUpgradeTask706OracleMSSQLFix.java:118)
    3. com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.performMySQLUpdate(PreBootstrapUpgradeTask706OracleMSSQLFix.java:89)
    4. com.atlassian.bamboo.setup.PreBootstrapUpgradeTask706OracleMSSQLFix.doUpgrade(PreBootstrapUpgradeTask706OracleMSSQLFix.java:57)
    5. com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:164)
    5 frames
  6. com.atlassian.config
    DefaultAtlassianBootstrapManager.init
    1. com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:76)
    1 frame
  7. com.atlassian.bamboo
    BootstrapLoaderListener.contextInitialized
    1. com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:59)
    1 frame
  8. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
    5 frames
  9. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
    1 frame
  10. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
    2. org.mortbay.jetty.Server.doStart(Server.java:217)
    2 frames
  11. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
    1 frame
  12. com.atlassian.bamboo
    Server.main
    1. com.atlassian.bamboo.server.Server.main(Server.java:60)
    1 frame