Browse Source

Merge remote-tracking branch 'origin/master'

lizeyu 3 months ago
parent
commit
2b89716dd4
2 changed files with 5 additions and 1 deletions
  1. 4 0
      pom.xml
  2. 1 1
      src/main/java/com/ghsc/partybuild/util/Word2PdfUtil.java

+ 4 - 0
pom.xml

@@ -231,6 +231,10 @@
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <configuration>
+                    <!--设置为true,以便把本地的system的jar也包括进来-->
+                    <includeSystemScope>true</includeSystemScope>
+                </configuration>
             </plugin>
             <plugin>
                 <groupId>org.mybatis.generator</groupId>

+ 1 - 1
src/main/java/com/ghsc/partybuild/util/Word2PdfUtil.java

@@ -17,7 +17,7 @@ public class Word2PdfUtil {
 
     public Word2PdfUtil() {
         logger = LoggerFactory.getLogger(this.getClass());
-        /*LoadLicense();*/
+        LoadLicense();
     }
 
     protected Boolean LoadLicense() {