警告: Could not load driverClass com.mysql.cj.jdbc.Driver

警告: Could not load driverClass com.mysql.cj.jdbc.Driver     

Solution: Check each of the last configuration value if there is space, the mouse on the configuration values ​​Finally, if there are spaces in front, can be removed.

No spaces in front of, as shown below:

In addition: The above configuration is written in the properties:

jdbcurl=jdbc:mysql://localhost/sys?useUnicode=true&characterEncoding=utf-8&useSSL=FALSE&serverTimezone = UTC

Disposed in the xml file written (needs to be escaped - & amp, separated by semicolons) are:

jdbc:mysql://localhost/sys?useUnicode=true&characterEncoding=utf-8&useSSL=FALSE&

serverTimezone=UTC

Guess you like

Origin www.cnblogs.com/Ceciliamumu/p/10944709.html