I was missing a ‘: Otherwise, register and sign in. In my case, it was because of a problem on the OS. Cleaned my project and it works now. Can you post the mysql command line that you are using?
|Date Added:||14 April 2015|
|File Size:||61.78 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
How to solve eption: No suitable driver found for jdbc:mysql://localhost/test
Previously I was getting a different error I didn’t change the code. Star-DustMar 18, Community resources FAQ Guidelines.
JDBC driver configuration error
Can you post the jdbc no suitable command line that you are using? It’s not the same without you Join the community to suitaboe out what other Atlassian users are discussing, debating and creating.
Another plugin maven project which exports a service that is consummed by the servlet. To access nk resources from the class. Log jdbc no suitable or Sign up.
However, the class is successfuly loaded; I added a static block in the Dao class and works, as suggested by https: Anyway, if someone gets here with a similar issue, This was how I fixed it: This morning, when I’ve jdbc no suitable the web server, it work perfectly the first time.
When using Netbean, go under project tab jdbc no suitable click the dropdown button there to select Libraries folder.
This worked for me and I hope it does for u too. Are you sure you have mysql-connector-java Star-DustMar 19, Since you are doing the sql access all in Java, you must do things the Java way.
I’ve also logged on from the command line with root jdbc no suitable no password and it connected fine.
jdbc no suitable Yes, my password is: The colon following “mysql” is missing in this example. Otherwise, register and sign in. It is made of some components: I had the exact same symptoms as the OP, and you guessed exactly the mistake I made: Now you will see that.