美文网首页
eclipse执行maven项目出现 SLF4J: Failed

eclipse执行maven项目出现 SLF4J: Failed

作者: lunabird | 来源:发表于2016-02-02 09:33 被阅读4311次

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>

相关文章

网友评论

      本文标题:eclipse执行maven项目出现 SLF4J: Failed

      本文链接:https://www.haomeiwen.com/subject/jbgskttx.html