当前位置:网站首页>[漏洞问题] log4j漏洞 关于2.17.0升级到2.18.0 方案
[漏洞问题] log4j漏洞 关于2.17.0升级到2.18.0 方案
2022-08-04 05:35:00 【Kiand_】
项目场景:
项目场景:关于 log4j漏洞问题
解决方案:
特别注意:
log4j-1.2.17.jar 替换为 log4j-api-2.18.0.jar 和 lo4j-core-2.18.0.jar (如果还是报错需要增加 lo4j-1.2-api-2.18.0.jar)
log4j-over-slf4j-1.7.21.jar 替换为 log4j-over-slf4j-1.7.33.jar
其余的jar包可以一一对应升级
<!--排他依赖 需要把低版本的排除-->
<exclusion>
<artifactId>log4j-to-slf4j</artifactId>
<groupId>org.apache.logging.log4j</groupId>
</exclusion>
<exclusion>
<artifactId>log4j-api</artifactId>
<groupId>org.apache.logging.log4j</groupId>
</exclusion>
<!--引入高版本-->
<log4j2.version>2.18.0</log4j2.version>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j2.version}</version>
</dependency>升级所需要的jar包
链接:https://pan.baidu.com/s/1ECOBmN8S5DXeFhHzXpoifQ
提取码:log4
边栏推荐
- Software: Recommend a domestic and very easy-to-use efficiency software uTools to everyone
- Operating System Kernel
- POI及EasyExcel
- mysql:列类型之float、double
- 0--100的能被3整出的数的集合打乱顺序
- ssm pom文件依赖 web.xml配置
- SENet detailed explanation and Keras reproduction code
- golang chan
- 缓动动画,有关窗口的一些常见操作,BOM操作
- 网页中常用的两种绘图技术,用canvas绘图,绘制出一个三角形,矩形,柱状图,扇形图
猜你喜欢
随机推荐
硬件知识:RTMP和RTSP传统流媒体协议介绍
“需求370解决解决爬取章节之后主题讨论评论消失问题”工作总结
基于EEMD+GRU+MLR的时间序列预测
DenseNet详解及Keras复现代码
Gramm Angle field GAF time-series data into the image and applied to the fault diagnosis
在线公众号文章内容转音频文件实用小工具
E-R图总结规范
元素的增删克隆以及利用增删来显示数据到页面上
你要悄悄学网络安全,然后惊艳所有人
SENet detailed explanation and Keras reproduction code
天鹰优化的半监督拉普拉斯深度核极限学习机用于分类
Uos统信系统 chrony配置
Memory Management
狗都能看懂的CenterNet讲解及代码复现
给想要转行渗透测试人的忠告
QT 出现多冲定义问题
Faster - RCNN principle and repetition code
IoU, GIoU, DIoU and CIoU in target detection
子空间结构保持的多层极限学习机自编码器(ML-SELM-AE)
Computer knowledge: desktop computers should choose the brand and assembly, worthy of collection










