Explorar o código

编译报错处理

xielq %!s(int64=4) %!d(string=hai) anos
pai
achega
1647648bc6
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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>