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对应版本的slf4j-nop的maven依赖

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

猜你喜欢

转载自blog.csdn.net/weixin_39841589/article/details/83012644