springboot 启动出现Init DruidDataSource问题

背景

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

image-20200730105942543

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.

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

解决

所以在配置中修改:

image-20200730110122652

红体没有了。

image-20200730110156093

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

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

 posted on 2020-07-30 11:03  ben跑的换行符  阅读(4260)  评论(0编辑  收藏  举报