SpringBoot 测试时报错 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.jdbc.Driver已过时,改为driver-class-name: com.mysql.cj.jdbc.Driver
SpringBoot 测试时报错 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is
最新推荐文章于 2024-02-28 21:12:28 发布