当前位置:网站首页>日志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,运行。不再报错!

边栏推荐
- Flutter mixed development module dependencies
- MySQL 主从切换步骤
- Several forms of Attribute Changer
- DSPE-PEG-Azide DSPE-PED-N3 Phospholipid-Polyethylene Glycol-Azide Lipid PFG
- 化学试剂磷脂-聚乙二醇-氨基,DSPE-PEG-amine,CAS:474922-26-4
- Why does read in bash need to cooperate with while to read the contents of /dev/stdin
- Data Preprocessing, Feature Engineering, and Feature Learning - Excerpt
- pytorch模型微调finetuning训练image_dog(kaggle)
- cv2.imread()
- DSPE-PEG-Thiol DSPE-PEG-SH 磷脂-聚乙二醇-巯基脂质体制备用
猜你喜欢

活体检测FaceBagNet阅读笔记

VS2017连接MYSQL

Understanding of js arrays

Gradle sync failed: Uninitialized object exists on backward branch 142

2022年SQL大厂高频实战面试题(详细解析)

CAS:474922-22-0 Maleimide-PEG-DSPE 磷脂-聚乙二醇-马来酰亚胺简述

活体检测CDCN学习笔记

random.randint函数用法

计算图像数据集均值和方差

Cholesterol-PEG-NHS NHS-PEG-CLS cholesterol-polyethylene glycol-active ester can modify small molecular materials
随机推荐
Tensorflow——演示
VTK:Could not locate vtkTextRenderer object.
SSH automatic reconnection script
自然语言处理相关list
jenkins +miniprogram-ci upload WeChat applet with one click
Redis-Hash
Cholesterol-PEG-Azide CLS-PEG-N3 胆固醇-聚乙二醇-叠氮 MW:3400
Jupyter内核正忙、内核挂掉
浏览器查找js绑定或者监听的事件
Cholesterol-PEG-NHS NHS-PEG-CLS cholesterol-polyethylene glycol-active ester can modify small molecular materials
使用 OpenCV 提取图像的 HOG、SURF 及 LBP 特征 (含代码)
wangeditor富文本编辑器上传图片以及跨域问题解决
活体检测CDCN学习笔记
Flow control statement in js
Pytorch每日一练——预测泰坦尼克号船上的生存乘客
Web Screenshots and Reverse Proxy
pytorch模型微调finetuning训练image_dog(kaggle)
多元线性回归方程原理及其推导
OpenCV中的图像数据格式CV_8U定义
Sqlite column A data is copied to column B