Question - Why “No suitable driver” error occurs?
Answer -
No suitable driver” occurs when we are calling DriverManager.getConnection method,
it may occur because of following reasons:
- unable to load exact JDBC drivers before calling the getConnection method.
- It may be invalid or wrong JDBC URL.