Browse Source

升级log4j2到安全版本,防止漏洞风险

pull/355/head
RuoYi 3 years ago
parent
commit
d6f7423d59
  1. 14
      pom.xml

14
pom.xml

@ -32,6 +32,7 @@
<commons.fileupload.version>1.4</commons.fileupload.version>
<poi.version>4.1.2</poi.version>
<velocity.version>2.3</velocity.version>
<log4j2.version>2.15.0</log4j2.version>
</properties>
<!-- 依赖声明 -->
@ -176,7 +177,20 @@
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!-- log4j日志组件 -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId>
<version>${log4j2.version}</version>
</dependency>
<!-- 定时任务-->
<dependency>
<groupId>com.ruoyi</groupId>

Loading…
Cancel
Save