Auf Thema antworten

Mit Class.forName("com.mysql.cj.jdbc.Driver");

ClassNotFoundException: com.mysql.cj.jdbc.Driver


und ohne Class.forName und "catch (ClassNotFoundException cnf ) { ... }

java.sql.SQLException: No suitable Driver found for jdbc:mysql://localhost:3300/database_name


Und jetzt?



Oben