• Post Reply Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException Mysql

 
Adil Sadiq
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
exception.png
[Thumbnail for exception.png]
i have added mysql-connector.jar in jre/lib/ext
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to put the MySQL JDBC driver jar file in the classpath.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!