- #Java lang class not found exception com mysql jdbc driver zip file#
- #Java lang class not found exception com mysql jdbc driver driver#
#Java lang class not found exception com mysql jdbc driver driver#
Try putting MySQL JDBC driver on lib directory of tomcat or your web server I have set all class path correctly but still i getting this error on my web page please can you provide me exact snapshot of this class path so i can check it again. I request you all please solve this problem. I have classes.jar file and also i have connecter, but i can't able to connect the database.
#Java lang class not found exception com mysql jdbc driver zip file#
Instead of that I extracted zip file and added jar file "mysql-connector-java-5.1.17-bin.jar" into classpath and it worked.Ĭonsider this scenario let say there are 5 apple,5 persons each person will eat one apple solve this problem usins program I have only added mysql-connector-java-5.1.17.zip in classpath. I solve the problem actually "mysql-connector-java-5.1.17-bin.jar" was not on my classpath. I have also attached mysql driver in classpath still I am getting this exception please help.
Hi I am getting following SQLException while trying to connect to MySQL database running on my machine :Įxception in thread "main" : No suitable driver found for jdbc:mysql://localhost:3306/testĪt (DriverManager.java:602)Īt (DriverManager.java:185) Registrations have also started (Link: ). Alert!: Oracle has announced their marquee event JavaOne and Oracle Develop 2012 being held in Hyderabad on 3-4 May.