问题解决: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报错的主要内容,如果未能解决你的问题,请参考以下文章
Nginx——Nginx启动报错Job for nginx.service failed because the control process exited with error code(代码片段
Vue报错:Uncaught TypeError: Cannot assign to read only property 'exports' of object 的解决方法(代码片段
项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde(代码片段
spring cloud启动zipkin,报错maven依赖jar包冲突 Class path contains multiple SLF4J bindings
SpringBoot启动报错“Consider defining a bean of type ‘xxx.mapper.UserMapper‘ in your configuration.“(代码片段