Browse Source

编译报错处理

xielq 4 năm trước cách đây
mục cha
commit
1647648bc6
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      pom.xml

+ 2 - 1
pom.xml

@@ -140,9 +140,10 @@
                			<configuration>
                			<configuration>
                     			<compilerArgs>
                     			<compilerArgs>
                         			<arg>-Xlint:deprecation</arg>
                         			<arg>-Xlint:deprecation</arg>
+                                                <arg>${env.JAVA_HOME}/jre/lib/rt.jar</arg>
                     			</compilerArgs>
                     			</compilerArgs>
                     			<compilerArguments>
                     			<compilerArguments>
-                        			<bootclasspath>${java.home}/jre/lib/rt.jar;${java.home}/jre/lib/jce.jar</bootclasspath>
+                        			<bootclasspath>${env.JAVA_HOME}/jre/lib/rt.jar:${env.JAVA_HOME}/jre/lib/jce.jar</bootclasspath>
                     			</compilerArguments>
                     			</compilerArguments>
                 		</configuration>
                 		</configuration>
 			</plugin>
 			</plugin>