![]() ![]() There is an another version of the exception. ![]() The following stack trace will be shown if the database driver exception Cannot load driver class: is thrown. The database driver class loads the mysql database driver from the driver’s jar. The driver establishes a connection to the mysql database and runs the database sql queries. In order to execute sql queries in a Java application, the driver class must be loaded. If the driver class is unable to load, the exception Cannot load driver class: will be thrown. The java application attempts to load a driver class from the mysql database driver jar. The database exception Cannot load driver class: occurs if there is a disparity between mysql driver class, mysql driver jar version and mysql database version. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |