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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jith87
    New Member
    • Jul 2007
    • 58

    #1

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

    java.lang.Class NotFoundExcepti on: com.mysql.jdbc. Driver


    Ths s the error i get whn i try to connect to mysql using jdbc driver.....Can u help me out...
  • madhoriya22
    Contributor
    • Jul 2007
    • 251

    #2
    Originally posted by jith87
    java.lang.Class NotFoundExcepti on: com.mysql.jdbc. Driver


    Ths s the error i get whn i try to connect to mysql using jdbc driver.....Can u help me out...
    Hi,
    There are lots of thread regarding this. So check them out. Most probably you have not provided the classpath of your jar file.

    Comment

    • vipinkrajput
      New Member
      • Sep 2007
      • 5

      #3
      Driver class is not available in class path, thats y this error is encountered ,For this you need to include the jar file(where the driver class reside) in class path...
      For mysql you need to download mysql connector jar file for the Driver class.

      Comment

      Working...