The driver is automatically registered via the SPI and manual loading of the driver class is general
错误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 cla
·
错误
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.原因:
**This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'.**解决:
com.mysql.jdbc.Driver 已经过时了,使用新的驱动 com.mysql.cj.jdbc.Driver更多推荐
已为社区贡献1条内容
所有评论(0)