当前位置:网站首页>日志jar包冲突,及其解决方法
日志jar包冲突,及其解决方法
2022-07-31 05:17:00 【数据之神护体!】
我的spring项目运行时,会报以下错误。虽然不影响项目运行,但是看着扎心!
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/Administrator/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Administrator/.m2/repository/org/slf4j/slf4j-log4j12/1.7.30/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
报错大概意思是说,包含两个不同的日志jar包路径分别是:
C:/Users/Administrator/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class
C:/Users/Administrator/.m2/repository/org/slf4j/slf4j-log4j12/1.7.30/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class
我们只需要到本地mavenjar包库删掉其中一个即可(需要关掉idea,才可以删除)
重启idea,运行。不再报错!

边栏推荐
- wangeditor富文本编辑器上传图片以及跨域问题解决
- SSH automatic reconnection script
- The browser looks for events bound or listened to by js
- 我的训练函数模板(动态修改学习率、参数初始化、优化器选择)
- 如何修改数据库密码
- Natural language processing related list
- Several forms of Attribute Changer
- DSPE-PEG-Azide DSPE-PED-N3 Phospholipid-Polyethylene Glycol-Azide Lipid PFG
- 微信小程序源码获取与反编译方式
- cocos2d-x implements cross-platform directory traversal
猜你喜欢

jenkins +miniprogram-ci 一键上传微信小程序

pytorch模型微调finetuning训练image_dog(kaggle)

Cholesterol-PEG-Thiol CLS-PEG-SH 胆固醇-聚乙二醇-巯基

Principle analysis of famous website msdn.itellyou.cn

mPEG-DSPE 178744-28-0 Methoxy-polyethylene glycol-phosphatidylethanolamine linear PEG phospholipids

qt:cannot open C:\Users\XX\AppData\Local\Temp\main.obj.15576.16.jom for write

Navicat从本地文件中导入sql文件

VS2017连接MYSQL

Tensorflow边用边踩坑

Understanding of js arrays
随机推荐
mPEG-DMPE 甲氧基-聚乙二醇-双肉豆蔻磷脂酰乙醇胺用于形成隐形脂质体
活体检测FaceBagNet阅读笔记
使用 OpenCV 提取图像的 HOG、SURF 及 LBP 特征 (含代码)
Data Preprocessing, Feature Engineering, and Feature Learning - Excerpt
MySQL 出现 The table is full 的解决方法
微信小程序启动优化
MySQL 主从切换步骤
ERROR Error: No module factory availabl at Object.PROJECT_CONFIG_JSON_NOT_VALID_OR_NOT_EXIST ‘Error
ERROR Error: No module factory availabl at Object.PROJECT_CONFIG_JSON_NOT_VALID_OR_NOT_EXIST ‘Error
np.fliplr与np.flipud
Nmap的下载与安装
Cholesterol-PEG-Amine CLS-PEG-NH2 胆固醇-聚乙二醇-氨基科研用
2021年软件测试面试题大全
Word vector - demo
Several forms of Attribute Changer
360 加固 file path not exists.
Tensorflow steps on the pit while using it
VS通过ODBC连接MYSQL(二)
Talking about the understanding of CAP in distributed mode
Podspec verification dependency error problem pod lib lint , need to specify the source