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

Coderanch | Huw Morgan | 1 decade ago
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

    Class Not Found exception in cron job

    Coderanch | 1 decade ago | Huw Morgan
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  2. 0

    Using JDBC to connect to MySQL from Java Program | 6 months ago
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  3. 0

    conectar a la base de datos Mysql

    Google Groups | 1 decade ago | harry
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using JDBC to connect to MySQL from Java Program | 1 year ago
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  6. 0

    Schema Workbench 3.0.4 requires the working directory set to be the directory where it is installed. If you do not, you get a ClassNotFoundException error on the database driver when trying to make a DB connection. The terminal output is: 15:22:05,513 ERROR [JDBCMetaData] Database connection exception : ClassNotFoundException : com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClassInternal( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at mondrian.gui.JDBCMetaData.initConnection( at mondrian.gui.JDBCMetaData.<init>( at mondrian.gui.Workbench.resetWorkbench( at mondrian.gui.Workbench.toolbarPreferencesButtonActionPerformed( at mondrian.gui.Workbench.access$800( at mondrian.gui.Workbench$23.actionPerformed( at javax.swing.AbstractButton.fireActionPerformed( at javax.swing.AbstractButton$Handler.actionPerformed( at javax.swing.DefaultButtonModel.fireActionPerformed( at javax.swing.DefaultButtonModel.setPressed( at javax.swing.AbstractButton.doClick( at javax.swing.plaf.basic.BasicMenuItemUI.doClick( at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased( at java.awt.Component.processMouseEvent( at javax.swing.JComponent.processMouseEvent( at java.awt.Component.processEvent( at java.awt.Container.processEvent( at java.awt.Component.dispatchEventImpl( at java.awt.Container.dispatchEventImpl( at java.awt.Component.dispatchEvent( at java.awt.LightweightDispatcher.retargetMouseEvent( at java.awt.LightweightDispatcher.processMouseEvent( at java.awt.LightweightDispatcher.dispatchEvent( at java.awt.Container.dispatchEventImpl( at java.awt.Window.dispatchEventImpl( at java.awt.Component.dispatchEvent( at java.awt.EventQueue.dispatchEvent( at java.awt.EventDispatchThread.pumpOneEventForHierarchy( at java.awt.EventDispatchThread.pumpEventsForHierarchy( at java.awt.EventDispatchThread.pumpEvents( at java.awt.EventDispatchThread.pumpEvents( at The solution is to cd into the directory first: $ cd /opt/pentaho/workbench $ sh More detail at This is similar to PMD-458 and PRD-1034.

    Pentaho BI Platform Tracking | 8 years ago | Sridhar Dhanapalan
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

  1. andyglick 8 times, last 2 weeks ago
  2. tyson925 3 times, last 3 weeks ago
  3. Adrien 8 times, last 3 weeks ago
  4. SteVio1989 4 times, last 4 weeks ago
  5. jstrayer 1 times, last 4 weeks ago
58 more registered users
37 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


  2. Java RT
    2. Method)
    4. java.lang.ClassLoader.loadClass(
    5. sun.misc.Launcher$AppClassLoader.loadClass(
    6. java.lang.ClassLoader.loadClass(
    7. java.lang.ClassLoader.loadClassInternal(
    8. java.lang.Class.forName0(Native Method)
    9. java.lang.Class.forName(
    9 frames
  3. Unknown
    1. TestClassLoader.main(
    1 frame