Jenkins 尝试编译时出现异常

Jenkins 尝试编译时出现异常,jenkins,Jenkins,我正在构建一个使用jdk1.5和maven 2.1.0的java应用程序。我们使用的是詹金斯版本1.565.1 我每次构建时都会遇到下面的错误,这个错误没有任何意义。以前是否有人遇到过错误并已成功解决 [INFO] [gwt:compile {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [IN

我正在构建一个使用jdk1.5和maven 2.1.0的java应用程序。我们使用的是詹金斯版本1.565.1

我每次构建时都会遇到下面的错误,这个错误没有任何意义。以前是否有人遇到过错误并已成功解决

    [INFO] [gwt:compile {execution: default}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Exception attempting compile.

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Exception attempting compile.
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Exception attempting compile.
    at com.totsp.mavenplugin.gwt.CompileMojo.execute(CompileMojo.java:71)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
    ... 16 more
Caused by: java.lang.NullPointerException
    at java.io.File.<init>(File.java:194)
    at com.totsp.mavenplugin.gwt.AbstractGWTMojo.buildClasspathList(AbstractGWTMojo.java:345)
    at com.totsp.mavenplugin.gwt.ScriptWriterUnix.writeCompileScript(ScriptWriterUnix.java:105)
    at com.totsp.mavenplugin.gwt.CompileMojo.execute(CompileMojo.java:63)
    ... 18 more
[INFO][gwt:compile{execution:default}]
[信息]------------------------------------------------------------------------
[错误]生成错误
[信息]------------------------------------------------------------------------
[INFO]尝试编译时出现异常。
[信息]------------------------------------------------------------------------
[调试]跟踪
org.apache.maven.lifecycle.LifecycleExecutionException:尝试编译时出现异常。
位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.ExecuteGals(DefaultLifecycleExecutor.java:703)
位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.ExecuteGalWithLifecycle(DefaultLifecycleExecutor.java:540)
位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
在org.apache.maven.lifecycle.DefaultLifecycleExecutor.ExecuteGalandLifeures上(DefaultLifecycleExecutor.java:371)
位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
在org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
位于org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
位于org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处
位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)中
位于java.lang.reflect.Method.invoke(Method.java:592)
位于org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
位于org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
位于org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
位于org.codehaus.classworlds.Launcher.main(Launcher.java:375)
原因:org.apache.maven.plugin.MojoExecutionException:尝试编译时出现异常。
位于com.totsp.mavenplugin.gwt.CompileMojo.execute(CompileMojo.java:71)
位于org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.ExecuteGals(DefaultLifecycleExecutor.java:678)
... 还有16个
原因:java.lang.NullPointerException
位于java.io.File。(File.java:194)
位于com.totsp.mavenplugin.gwt.AbstractGWTMojo.buildClasspathList(AbstractGWTMojo.java:345)
位于com.totsp.mavenplugin.gwt.ScriptWriterUnix.writeCompileScript(ScriptWriterUnix.java:105)
位于com.totsp.mavenplugin.gwt.CompileMojo.execute(CompileMojo.java:63)
... 还有18个

在没有Jenkins的情况下,您能否在构建服务器上成功构建应用程序?是的。我们确实从本地机器编译并上传到maven存储库。对延误的答复表示歉意。