最近在搭建一个springboot+mybatis的项目的时候遇到的一个问题:
错误提示信息:
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 the driver class is generally unnecessary.
这是原项目配置
需要改成