spring boot 2.x+ 版本:启动报错:Error creating bean with name ‘dataSource‘ defined in class path resource解决

报错如下:

在这里插入图片描述
这个错误,要找其原因不好找,我也是百度后才知道的,记住就好了,遇到这种情况,看自己导入的 druid连接池 jar包
版本是否过低,换个高版本的即可。

在这里插入图片描述


在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/haduwi/article/details/111288275