当前位置:网站首页>[漏洞问题] 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
边栏推荐
猜你喜欢

Database Skills: Organize SQL Server's Very Practical Scripts

Time Series Forecasting Based on Reptile Search RSA Optimized LSTM

bitnami/mongodb-sharded在AWS EKS扩展shard失败解决

Computer knowledge: desktop computers should choose the brand and assembly, worthy of collection

狗都能看懂的CenterNet讲解及代码复现

Gramm Angle field GAF time-series data into the image and applied to the fault diagnosis

狗都能看懂的Vision Transformer的讲解和代码实现

Different lower_case_table_names settings for server (‘1‘) and data dictionary (‘0‘) 解决方案

Online public account article content to audio file practical gadget

狗都能看懂的Pytorch MAML代码详解
随机推荐
关于gopher协议的ssrf攻击
matlab的2DCNN、1DCNN、BP、SVM故障诊断与结果可视化
Visualization and Animation Technology (VR System)
狗都能看懂的Self-Attention讲解
2DCNN, 1DCNN, BP, SVM fault diagnosis and result visualization of matlab
如何在网页标题栏中加入图片!
A semi-supervised Laplace skyhawk optimization depth nuclear extreme learning machine for classification
基于子空间结构保持的迁移学习方法MLSSM
水平垂直居中的12种方法,任意插入节点的方法,事件的绑定的三种方法和解绑的方法,事件对象,盒子模型
代码小变化带来的大不同
Interpretation of EfficientNet: Composite scaling method of neural network (based on tf-Kersa reproduction code)
ES6新语法:symbol,map容器
狗都能看懂的Pytorch MAML代码详解
Uos统信系统 Postfix-smtps & Dovecot-imaps
为什么不使用VS管理QT项目
RuntimeError: You called this URL via POST, but the URL doesn‘t end in a slash and you have APPEND_S
E-R图总结规范
新冠病毒和网络安全的异同及思考
FCN——语义分割的开山鼻祖(基于tf-Kersa复现代码)
无一技之长学什么可以做到月入上万?
