栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Failed to bind properties under ‘spring.datasource.druid‘ to javax.sql.DataSource:

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Failed to bind properties under ‘spring.datasource.druid‘ to javax.sql.DataSource:

在做springboot整合druid配置数据源监控的时候,报了这个错,网上查到是由于log4j版本问题:
在springboot1.5的版本中,使用的是spring4.x,而springboot2.x使用的是spring5.x,在spring5.x后,官方弃用了log4j,而建议并使用log4j2,因此要么降低版本使用spring4.x的spring boot版本,要么额外去引入log4j的jar包。

log4j的版本引起的换个新版本就好了


	log4j
	log4j
	1.2.17

Java 连接redis 报错 ''ERR Client sent AUTH, but no password is set":
https://blog.csdn.net/zmj199536/article/details/85234506

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/351724.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号