spring里配置了mysql,启动时报一下错误:
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.
大概意思就是说:引用了弃用的mysql 驱动配置,新的配置是 ****,所以只需要将旧的配置替换成新的就可以了。