![]() Cannot load driver class: .jdbc.Driver Caused by: : Cannot load driver class: Īt .state(Assert.java:97) ~Īt .(DataSourceProperties.java:223) ~Īt .(DataSourceProperties.java:175) ~Īt .(DataSourceConfiguration.java:43) ~Īt .jdbc.DataSourceConfiguration$Hikari.dataSource(DataSourceConfiguration.java:85) ~ 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. |