我正在使用GWT 2.5.0,在gwt编译中,在Java返回时发生构建失败:137。
我的环境是Jenkins构建工具。
这是我的构建代码:
<target
name="clientcompile"
depends="servercompile"
description="GWT compile to JavaScript (production mode)" >
<java
classname="com.google.gwt.dev.Compiler"
failonerror="true"
fork="true" >
<classpath>
<pathelement location="src" />
<path refid="project.class.path" />
<pathelement location="${gwt.sdk}\validation-api-1.0.0.GA.jar" />
<pathelement location="${gwt.sdk}\validation-api-1.0.0.GA-sources.jar" />
</classpath>
<jvmarg value="-Xmx512M" />
<arg line="-war" />
<arg value="war" />
<arg line="${gwt.args}" />
<arg value="com.skt.SKTWeb" />
</java>
</target>
在运行ant任务时我得到了这个,
clientcompile:
[java]编译模块com.skt.SKTWeb
[java]验证单位: [java]在第一次传递中忽略了1个带有编译错误的单元。 [java]使用-strict或-logLevel设置为TRACE或DEBUG进行编译以查看所有错误。
BUILD FAILED
/root/.jenkins/workspace/KINGSTRACK WEB APPLICATION/LTSWebEAR/build.xml:57: The following error occurred while executing this line:
/root/.jenkins/workspace/KINGSTRACK WEB APPLICATION/LTSWeb/build.xml:174: Java returned: 137
为什么会出现此错误。我的系统是基于linux的系统。
请帮忙。