diff --git a/pom.xml b/pom.xml index 13e66edc..0252debb 100644 --- a/pom.xml +++ b/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>