【框架----Springboot】【问题解决】启动时SLF4J报错

问题描述

启动时报错

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.

问题分析

解决方式

pom中引入sfl4j相关的包即可

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

猜你喜欢

转载自blog.csdn.net/ningjiebing/article/details/89411088