Browse Source

修改poi版本号,解决解析wps报错的问题

wukai 1 year ago
parent
commit
1c0276c165
1 changed files with 9 additions and 7 deletions
  1. 9 7
      doc-common/pom.xml

+ 9 - 7
doc-common/pom.xml

@@ -82,12 +82,6 @@
             <artifactId>commons-io</artifactId>
         </dependency>
 
-        <!-- excel工具 -->
-        <dependency>
-            <groupId>org.apache.poi</groupId>
-            <artifactId>poi-ooxml</artifactId>
-        </dependency>
-
         <!-- yml解析器 -->
         <dependency>
             <groupId>org.yaml</groupId>
@@ -158,8 +152,16 @@
         <dependency>
             <groupId>org.apache.poi</groupId>
             <artifactId>poi-scratchpad</artifactId>
-            <version>5.2.2</version>
+            <version>4.1.2</version>
         </dependency>
+
+        <!-- excel工具 -->
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-ooxml</artifactId>
+            <version>4.1.2</version>
+        </dependency>
+
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>