SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”
今天遇到了这样一个问题,问题提示如下:
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
解决方式: 引入slf4j-nop-1.7.25.jar 包到项目中。
在pom.xml文件具体为:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.7.25</version>
<scope>test</scope>
</dependency>