Answers for "No suitable driver found for jdbc:sqlite"

SQL
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
0

no suitable driver found for jdbc:mysql:

Try putting the driver jar in the server lib folder. ($CATALINA_HOME/lib)

I believe that the connection pool needs to be set up even before the application is instantiated. (At least that's how it works in Jboss)
Posted by: Guest on March-02-2021
0

no suitable driver found for sqlite

DriverManager.getConnection("jdbc:sqlite:D:\db\my-db.sqlite").
Posted by: Guest on July-05-2021

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

Code answers related to "SQL"

Browse Popular Code Answers by Language