slf4j The method in the type Logger is not applicable
修改公司的一个老项目,引入的时候报,这个错误。
查找原因,发现是 slf4j 版本不对,使用高版本就可以解决这个问题,原来版本是 1.5.8
升级到 1.7.25可以解决这个问题。
slf4j The method in the type Logger is not applicable相关推荐
- SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelecto
标签: Java日志方案有很多,包括:java.util.logging.Apache的commons-logging和log4j.slf4j以及logback. 一个大型项目会用到众多第三方jar包 ...
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable
开始学习 android 了,学习的是高明鑫老师的android视频教程(android视频教学). 学到第八讲时, 在写动态设置时报错: The method setOnClickListener( ...
- The method setClass(Context, Class?) in the type Intent is not applicable for the arguments (GameV
在当前短信内容的activity中写 Bundle bun = new Bundle(); bun.putString("message", ...
- 报错, Exception: Missing URI template variable ‘id‘ for method parameter of type Long
问题: 2021-03-24 17:31:05.391 ERROR 12756 --- [io-12000-exec-2] c.y.w.c.GlobalControllerExceptionHandl ...
- 使用idea解决包依赖冲突的问题SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory
今天启动项目的时候出现jar包依赖冲突的问题,spring-boot项目默认使用logback日志库,然而又引入了log4j2导致出现下面的错误 SLF4J: Class path contains ...
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argu
eclipse 写 android 自动添加事件,报错 The method setOnClickListener(View.OnClickListener) in the type View is ...
- Android Room提示 错误: Not sure how to convert a Cursor to this method's return type的原因及解决办法
错误: Not sure how to convert a Cursor to this method's return type 最近在使用Room+协程+LiveData查询数据的时候,我的查询方 ...
- Eclipse 报错The method xxx of type must override a superclass method、Description Resource Path Locati
问题: 如上图, 没改钱@Override会报错The method run() of type must override a superclass method 原因: java1.5中继承接口是 ...
- Duplicate modifier for the method isExist in type UploadMusicInfoController
Duplicate modifier for the method isExist in type UploadMusicInfoController 在UploadMusicInfoControll ...
最新文章
- 将来以静态网页形式展示漏洞影响产品信息
- linux+Oracle集群课程全面升级
- oracle创建函数语句,Oracle 创建函数与存储过程语句积累
- vpython 贞测碰撞_7、Pygame碰撞检测
- ActiveMQ性能测试
- azure备份存储层分类_备份到Azure –如何做到这一点?
- [转]中国IT富翁们的第一份工作(组图)。
- 理解并取证:IPv6与IPv4在报文结构上的区别
- X86栈切换,任务切换
- Pointer is missing a nullability type specifier (__nonnull or __nullable)
- Flutter 实现 仿Android原生启动模式SingleTask
- 【Qt+OpenCV配置简介】
- Sourcetree下载-使用-快速入门
- Less颜色混合函数(14)
- wsl 搭建 ubantu环境
- android 入门教程
- 笔记:torch的基本运算
- 微信、Uber、阴谋论和口袋罪
- Python Pandas读取文件
- linux实现cp拷贝命令的思路和源码