gwt-maven-plugin: Compile fails “with status 1”

后端 未结 2 1116
长发绾君心
长发绾君心 2021-01-21 16:58

I\'ve been working on a GWT project for a while, and I believe since I\'ve added new dependencies, I get the error below.

Failed to execute goal org.codeh

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-21 17:29

    I faced similar issue when MVN building a Vaadin project in Cygwyn 32-bit version. But when I switched to Cygwyn 64-bit this issue is resolved.

    [ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:7.7.2:compile (default) on project vaadin-app: Command [[
    ...
    [ERROR] ]] failed with status 1
    [ERROR] -> [Help 1]
    ...
    failed with status 1
            at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:582)
            at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:435)
            at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:182)
            at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
            at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    

提交回复
热议问题