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

后端 未结 2 1121
长发绾君心
长发绾君心 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:41

    I ran mvn package -X and found the following errors

    [INFO] [ERROR] Errors in 'gwtupload/client/DecoratedFileUpload.java' [INFO] [ERROR] Line 371: Rebind result 'gwtupload.client.DecoratedFileUpload.DecoratedFileUploadImpl' cannot be abstract

    So I updated the dependency gwtupload to a newer version which resolved my problem.

    The reason I had ignored this error in a previous attempt, was that mvn package was successful before, using this dependency in this specific version. So I thought this error must have always been there, still leading to a successful package.

提交回复
热议问题