failed to determine a suitable driver class
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
failed to determine a suitable driver class
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
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);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us