The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the S

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.
这个问题
修改boot版本号 可以解决

在这里插入图片描述

在这里插入图片描述

修改成2.0版本

然后
在这里插入图片描述
重新引入下就OK


版权声明:本文为Ajaxt原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。