eclipse执行maven项目出现 SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. error

http://stackoverflow.com/questions/13473953/eclipse-failed-to-load-class-org-slf4j-impl-staticloggerbinder

在项目的pom.xml中加上slf4j的jar包依赖:

<dependency>
           <groupId>org.slf4j</groupId>
           <artifactId>slf4j-api</artifactId>
           <version>1.5.6</version>
           <type>jar</type>
</dependency>
<dependency>
           <groupId>org.slf4j</groupId>
           <artifactId>slf4j-simple</artifactId>
           <version>1.5.6</version>
</dependency>
    原文作者:lunabird
    原文地址: https://www.jianshu.com/p/93bbe5f90b90
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞