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.问题的解决:因为在高版本的mysql中jdbc重的这个驱动换成了图片中所改写的
com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'.
最新推荐文章于 2024-08-04 15:41:34 发布