问题解决:SFL4J启动时SLF4J报错
Posted sunny3096
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了问题解决:SFL4J启动时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>
以上是关于问题解决:SFL4J启动时SLF4J报错的主要内容,如果未能解决你的问题,请参考以下文章