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
本文介绍了解决使用新版本MySQL驱动时遇到的问题,指出通过修改boot版本号至2.0并重新引入驱动类即可解决自动注册失败的情况。
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
1万+
1471
2万+
2852
652
3092

被折叠的 条评论
为什么被折叠?
