lundi 25 juillet 2016

Suitable Driver Not Found?

Under which circumstances the following: Class c = super.findClass("com.mysql.jdbc.Driver"); java.sql.DriverManager.registerDriver((Driver) c.newInstance()); c.newInstance(); java.sql.DriverManager.getDriver("com.mysql.jdbc.Driver")<- This is crashing AFTER CREATING instance and using registerDriver(...). Can throw Driver not suitable exception? Server is up and running I am using 5.7.13, 1.8 JVM, and OS X 10.11.4. Thanks a lot!

Aucun commentaire:

Enregistrer un commentaire