【JDBC连接MySql数据库报错】Loading class `com.mysql.jdbc.Driver‘. This is deprecated.The new driver class is
使用mysql8.0.27连接数据库时,运行测试报错如下: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.
原创
2022-03-12 16:18:22 ·
2624 阅读 ·
11 评论