What causes the "No suitable driver" error? Failure to load the appropriate JDBC driver before giving a call to DriverManager.getConnection method causes ‘No Suitable Driver’ error.
The other reason could be an invalid URL which occurs when your JDBC driver cannot recognize it. In this case, you will either need to go through your driver documentation or contact the vendor.
This error can also occur if one or more of the shared libraries needed by JDBC-ODBC Bridge cannot be loaded. In this case, you will need to check the configuration in order that the libraries accessible.
What causes the "No suitable driver" error? No suitable driver error occurs at the time of obtaining the connection for a database manager, usually with DriverManager.getConnection() method. The reason could be failing to load appropriate JDBC drivers before invoking getConnection() method, or by means of specifying invalid JDBC URL.