首页 > 其他 > 详细

failed to load class "org.sl4j.impl.StaticLoggerBinder"

时间:2018-01-31 19:18:49      阅读:221      评论:0      收藏:0      [点我收藏+]

(1)要确保有properties文件在你的主项目的src下面

(2)https://www.slf4j.org/codes.html(这个是配置相关文件)

(3)如果经过1、2步后问题依然存在,那么检查pom.xml文件中是否存在类似这样的

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
    <version>1.7.25</version>
   <scope>test</scope>
</dependency>

去掉<scope>test</scope>后问题解决

 

failed to load class "org.sl4j.impl.StaticLoggerBinder"

原文:https://www.cnblogs.com/wth21-1314/p/8393682.html

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