码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-01-31 20:18:58      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:ogg   相关   blog   问题解决   bin   stat   pos   pom.xml   问题   

(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"

标签:ogg   相关   blog   问题解决   bin   stat   pos   pom.xml   问题   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!