简单介绍
声明:使用JDK9、MYSQL8、idea
报错处理
报错信息如下
原因
提示信息表明数据库驱动com.mysql.jdbc.Driver已经被弃用了、应当使用新的驱动com.mysql.cj.jdbc.Driver
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
原文地址:https://www.cnblogs.com/chenyanbin/p/11839168.html
时间: 2024-08-30 09:01:02