首页 > 编程语言 > 详细

springboot 启动出现Init DruidDataSource问题

时间:2020-07-30 12:55:56      阅读:1874      评论:0      收藏:0      [点我收藏+]

springboot 启动出现Init DruidDataSource问题

背景

记录一下搭建环境的时候出现的问题,

技术分享图片

Loading class com.mysql.jdbc.Driver‘. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver‘. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.

出现上面的红色字体:大概意思就是你弄的重复了,建议替换

解决

所以在配置中修改:

技术分享图片

红体没有了。

技术分享图片

其实这种问题也可以直接忽略,毕竟不是什么大的问题。

别问我怎么知道的,因为我一直这么用来着。

springboot 启动出现Init DruidDataSource问题

原文:https://www.cnblogs.com/chenyameng/p/13402615.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!