当前位置:Gxlcms >
数据库问题 >
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.
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.
时间:2021-07-01 10:21:17
帮助过:6人阅读
简单介绍
声明:使用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.
标签:style his 驱动 ted enter code register 数据 tomat