关于Spring boot 集成mysql出现Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver cla
前言
使用Spring boot集成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.警告,下面来查看具体出现的情况及解决方法。