SpringBoot连接数据库提示
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.
可能是maven导入数据库连接包时没有指定版本号
本文讨论了SpringBoot在连接数据库时遇到的问题,特别是在加载mysql驱动类时出现的警告信息,指出旧的驱动类已被废弃,建议使用新的驱动类。文章还提到了在maven中导入数据库连接包时未指定版本号可能导致此问题。
1505

被折叠的 条评论
为什么被折叠?



