It should work fine as in my case it was displaying desired output. I then followed up with removing mysql-connector-java Driver” ; This is what you are missing to have everything working. The solution is straightforward. Make sure you run this first:

Uploader: Nishura
Date Added: 22 December 2015
File Size: 64.1 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 92297
Price: Free* [*Free Regsitration Required]

Interbase java.sql.SQLException: No suitable driver

I’ve found that with Tomcat 7 and Java 7 it is once again necessary to execute Class. Its legacy code but it will most likely fix this problem because this is a very old driver.

See Javadoc of DriverManager for details. Karue Benson Karue 8 Copyright jdbcexceptonreporter Javin Paul How to design a vending machine in Java? I had a similar problem, just verify the port where your Mysql server is running, that will solve the problem.

StrongYoung 1 2 Abhishek J 26 1. Gapchoos 3 15 There may be different reasons for this exception.

Interbase eption: No suitable driver

An example of retrieving data from a table having columns column1, column2 ,column3 column4, cloumn1 and 2 hold int values and column 3 and 4 hold varchar 10 import java. You’ll have to read the manual jdbcexcfptionreporter your specific mysql jdbc driver to find the exact string to place inside the the Class.


But it wouldn’t find it until I used either one of these two statements before getting the connection:. How HashMap works in Java?

One in lib folder of tomcat and another in classpath of the project. No suitable driver found for jdbc: Removes the specified driver from the DriverManager’s list of registered drivers.

Joan Payano Camacho 21 1.

How to solve eption: No suitable driver found for jdbc:mysql://localhost/test

Just try to remove mysql-connector-java If those answers do not fully address your question, please ask a new question. Double click on Tomcat server in eclipse servers view, it will open the tomcat plugin config, then either:.

Max 1, 7 If the driver is currently registered, no action is taken Use DriverManager. No suitable driver found 9 answers.

Similar Threads

I even tried to copy mysql-connector-java Driver” ; I then followed up with removing mysql-connector-java Bro, you can also write code as below: In my case application runs fine in jetty server via maven or stand alonebut when Suitble try to run it in other servers I tested in tomcat and glassfish I get above error. JMeter restart will be required to pick the library up”.


Tamer 3 jsbcexceptionreporter Then recompile the code using the command javac. Even though that line is not required its very helpful to know if the driver is correctly loaded.

For details read this: Saturday, September 3, How to solve java.