首页 > 其他 > 详细

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"

时间:2020-03-13 17:38:41      阅读:65      评论:0      收藏:0      [点我收藏+]

官方的解决办法描述:

This error is reported when the org.slf4j.impl.StaticLoggerBinder class could not be loaded into memory.

This happens when no appropriate SLF4J binding could be found on the class path.

Placing one (and only one) of slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path should solve the problem.

       

所以说解决的办法:

在Maven工程的pom文件增加依赖

<dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-nop</artifactId>
       <version>1.7.2</version>
  </dependency>

 

  

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"

原文:https://www.cnblogs.com/felixzh/p/12487644.html

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