修改公司的一个老项目,引入的时候报,这个错误。

查找原因,发现是 slf4j 版本不对,使用高版本就可以解决这个问题,原来版本是 1.5.8

升级到  1.7.25可以解决这个问题。

slf4j The method in the type Logger is not applicable相关推荐

  1. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelecto

    标签: Java日志方案有很多,包括:java.util.logging.Apache的commons-logging和log4j.slf4j以及logback. 一个大型项目会用到众多第三方jar包 ...

  2. The method setOnClickListener(View.OnClickListener) in the type View is not applicable

    开始学习 android 了,学习的是高明鑫老师的android视频教程(android视频教学). 学到第八讲时, 在写动态设置时报错: The method setOnClickListener( ...

  3. The method setClass(Context, Class?) in the type Intent is not applicable for the arguments (GameV

    在当前短信内容的activity中写            Bundle bun = new Bundle();         bun.putString("message",  ...

  4. 报错, 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 ...

  5. 使用idea解决包依赖冲突的问题SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory

    今天启动项目的时候出现jar包依赖冲突的问题,spring-boot项目默认使用logback日志库,然而又引入了log4j2导致出现下面的错误 SLF4J: Class path contains ...

  6. 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 ...

  7. 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查询数据的时候,我的查询方 ...

  8. 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中继承接口是 ...

  9. Duplicate modifier for the method isExist in type UploadMusicInfoController

    Duplicate modifier for the method isExist in type UploadMusicInfoController 在UploadMusicInfoControll ...

最新文章

  1. 将来以静态网页形式展示漏洞影响产品信息
  2. linux+Oracle集群课程全面升级
  3. oracle创建函数语句,Oracle 创建函数与存储过程语句积累
  4. vpython 贞测碰撞_7、Pygame碰撞检测
  5. ActiveMQ性能测试
  6. azure备份存储层分类_备份到Azure –如何做到这一点?
  7. [转]中国IT富翁们的第一份工作(组图)。
  8. 理解并取证:IPv6与IPv4在报文结构上的区别
  9. X86栈切换,任务切换
  10. Pointer is missing a nullability type specifier (__nonnull or __nullable)
  11. Flutter 实现 仿Android原生启动模式SingleTask
  12. 【Qt+OpenCV配置简介】
  13. Sourcetree下载-使用-快速入门
  14. Less颜色混合函数(14)
  15. wsl 搭建 ubantu环境
  16. android 入门教程
  17. 笔记:torch的基本运算
  18. 微信、Uber、阴谋论和口袋罪
  19. Python Pandas读取文件
  20. linux实现cp拷贝命令的思路和源码

热门文章

  1. Linux命令之粘贴合并文件paste
  2. 绝美的山水:湖在天上 天在湖里
  3. 区块链研习 | 详解三大主要跨链技术,如何推动价值网络的实现
  4. 2020Y学习归纳成长56
  5. Mac版的vmware Fusion 8如何导入windows版vmware workstation创建的虚拟机
  6. java runtime是什么_java中Runtime类详细介绍
  7. 博弈论第十三集总结(道德风险、奖励和担保“ 的观后感)
  8. Linux FTP并发连接及带宽限制
  9. 利用循环栏目导航标签及自定义页面制作帝国CMS网站地图
  10. Kali Linux安装教程(亲测)