Commit e7282337819001e637ee3c08b379f9073c9a3de9
1 parent
f9b8ea65
使用log4j-over-slf4j取代log4j避免log4j漏洞
Showing
1 changed file
with
5 additions
and
3 deletions
pom.xml
| ... | ... | @@ -148,12 +148,14 @@ |
| 148 | 148 | <version>1.3.0-91</version> |
| 149 | 149 | </dependency> |
| 150 | 150 | |
| 151 | + <!-- 取代log4j --> | |
| 151 | 152 | <dependency> |
| 152 | - <groupId>log4j</groupId> | |
| 153 | - <artifactId>log4j</artifactId> | |
| 154 | - <version>1.2.17</version> | |
| 153 | + <groupId>org.slf4j</groupId> | |
| 154 | + <artifactId>log4j-over-slf4j</artifactId> | |
| 155 | + <version>1.7.35</version> | |
| 155 | 156 | </dependency> |
| 156 | 157 | |
| 158 | + | |
| 157 | 159 | <!-- xml解析库 --> |
| 158 | 160 | <dependency> |
| 159 | 161 | <groupId>org.dom4j</groupId> | ... | ... |