Answers for "No suitable driver found for jdbc"

0

failed to determine a suitable driver class

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
Posted by: Guest on October-18-2020
0

no suitable driver found for jdbc:mysql

Connection con = null;
try {
    //registering the jdbc driver here, your string to use 
    //here depends on what driver you are using.
    Class.forName("something.jdbc.driver.YourFubarDriver");   
    con = DriverManager.getConnection("jdbc:apache:commons:dbcp:test");
} catch (SQLException e) {
    throw new RuntimeException(e);
}
Posted by: Guest on June-06-2021

Code answers related to "No suitable driver found for jdbc"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language