我是靠谱客的博主 包容毛豆,这篇文章主要介绍servicecomb log4j-slf4j-impl cannot be present with log4j-to-slf4j,现在分享给大家,希望可以做个参考。
servicecomb log4j-slf4j-impl cannot be present with log4j-to-slf4j
servicecomb log4j-slf4j-impl cannot be present with log4j-to-slf4j
spring boot/cloud项目下查看是否引入的多余的log4j依赖,spring-boot本身自带log4j直接删除你引入的log4j或者排除spring boot的log4j
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
最后
以上就是包容毛豆最近收集整理的关于servicecomb log4j-slf4j-impl cannot be present with log4j-to-slf4j的全部内容,更多相关servicecomb内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复