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 the driver class is generally unnecessary.
解决方法:
在配置文件中将com.mysql.jdbc.Driver改为如下:即加个cj即可
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 the driver class is generally unnecessary.
解决方法:
在配置文件中将com.mysql.jdbc.Driver改为如下:即加个cj即可