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.
jdbc报了这么个错
百度了下,原来是
现在按照最新官方提示支持将com.mysql.jdbc.Driver 改为 com.mysql.cj.jdbc.Driver
ok!
jdbc报错Loading class `com.mysql.jdbc.Driver'. This is deprecated
最新推荐文章于 2024-08-04 15:41:34 发布