Commit e7282337819001e637ee3c08b379f9073c9a3de9

Authored by 648540858
1 parent f9b8ea65

使用log4j-over-slf4j取代log4j避免log4j漏洞

Showing 1 changed file with 5 additions and 3 deletions
@@ -148,12 +148,14 @@ @@ -148,12 +148,14 @@
148 <version>1.3.0-91</version> 148 <version>1.3.0-91</version>
149 </dependency> 149 </dependency>
150 150
  151 + <!-- 取代log4j -->
151 <dependency> 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 </dependency> 156 </dependency>
156 157
  158 +
157 <!-- xml解析库 --> 159 <!-- xml解析库 -->
158 <dependency> 160 <dependency>
159 <groupId>org.dom4j</groupId> 161 <groupId>org.dom4j</groupId>