spingboot启动报驱动Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of th

the reason: 

springboot use the latest drivers com.mysql.cj.jdbc.Driver, the driver needs to use 6.x version mysql-connector-java package can,

The mysql-connector-java6.x version supported database versions have restrictions, like you must upgrade to version 5.5.x is supported

Guess you like

Origin www.cnblogs.com/chafe/p/11387829.html