Google News
logo
JDBC - Interview Questions
What causes "No suitable driver" error?
No suitable driver” error occurs during a call to the DriverManager.getConnection() method, because of the following reasons :
 
* Unable to load the appropriate JDBC drivers before calling the getConnection() method.
* It can specify an invalid or wrong JDBC URL, which cannot be recognized by the JDBC driver.
* This error may occur when one or more shared libraries required by the bridge cannot be loaded.
Advertisement