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.
版本升级以后驱动更新了
配置改为
driver-class-name: com.mysql.cj.jdbc.Driver