IDEA: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.
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
原因
通过他提示进入官网查看
错误原因是编译的时候少了 slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar,slf4j-jdk14.jar或 logback-classic.jar中的其中一个jar包,加上去就行(只能是一个,多了就会有冲突)。
你们可能是运行的测试模块,或者没写scope
解决
加入这个包并编写<scope>compile</scope>
当依赖的scope为compile的时候,那么当前这个依赖的包,会在编译的时候被加⼊进来,并且在打包(mvn package)的时候也会被加⼊进来。
<dependency><groupId>org.slf4j</groupId><artifactId>slf4j-simple</artifactId><version>1.7.25</version><scope>compile</scope>
</dependency>
IDEA:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.相关推荐
- 报错:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
报错 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to n ...
- 报错:SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder“. SLF4J: Defaulting to no-operation
报错: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 然后去 http://www.slf4j. ...
- maven报错:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“. SLF4J: Defaulting to no-ope
今天在搭建maven项目时报错如下图: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF ...
- SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". Spring Cloud 启动提示: SLF4J: ...
- SLF4J:Failed to load class org.slf4j.impl.StaticLoggerBinder
SLF4J:Failed to load class "org.slf4j.impl.StaticLoggerBinder" 解决方案: <dependency>< ...
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.解决方法
在IDEA中启动JAVA程序之后,控制台中报以下错误信息 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder&quo ...
- tomcat 启动显示日志级别,以及SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder.错误
把以前的一个老项目通过maven的方式搭了一下,tomcat启动时,打印信息特别多,当时判断日志显示级别应该是debug.但我配置与之前没有任何改变,所以问题应该出在pom.xml上,于是网上查找资料 ...
- idea springboot启动报SLF4J:Failed to load class “org.slf4j.impl.StaticLoggerBinder
文章目录 首先声明一下,我用的 Intellij IDEA 2018.3 版本的,springboot的版本是 2.0.5.RELEASE 版本. 当我喜滋滋的编写完测试代码,点击 Debug 的时候 ...
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“. SLF4J: Defaulting to no-operation (
控制台出现错误 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting ...
最新文章
- Android自定义组件之简单组合
- 清除绊脚石(不定期更新)
- weblogic10.3.6配置nodemanager
- QT绘制嵌套的圆饼状图
- 201621123028《Java程序设计》第5周学习总结
- unity发布成手机app怎么不能被顶_Unity中Android API 28之后无法HTTP请求
- python插入排序算法详解-面试常考
- x=5y=8c语言表达式,中国大学MOOC: 假设变量x的位数为n(n=8),x的最高有效字节不变,其余各位全变为0,则对应C语言表达式为( )。 答案:(x(n-8))(n-8)...
- HBase原理和安装
- 图鸭科技获数千万元A轮融资,金沙江创投领投
- 【代码源 Div1 - 109】#454. Minimum Or Spanning Tree(最小生成树,边权按位或,贪心,并查集) CF1624G
- iOS开发之算法加密md5,sha1,AES,base64
- input datetime-local 时间控件精确到秒
- QQ资料清空php源码,清除QQ账号所有授权应用 JavaScript代码
- 如何把pdf转换成excel表格
- 实用的科技论文写作短语
- 猎头Fiona总结的加入淘宝网的十个理由
- 猫眼top100部高分电影spider
- SSD、DSSD算法详解
- Linux下开MC服务器
热门文章
- jenkins持续集成——Jenkins+企业级的私有仓库运用
- [转帖][分享]垂直搜索引擎深度分析
- Adopt Open JDK官方文档(二)如何使用导航和取得进步?
- Mysql:优化分析(值得深思)
- JSE学习笔记之2Java
- 【C语言】如果要在八进制和十六进制前显示0和0x的前缀
- “由于 open 函数中有时间冲突,WMI ADAP 无法处理 RemoteAccess 性能库”。
- 3d max 网络渲染
- Android笔记(翻译):card.io SDK for Android银行卡扫描
- BZOJ 3925 [Zjoi2015]地震后的幻想乡