GWT Maven Eclipse Plugin - Compilation Fails Due to Duplicate Class

前端 未结 2 1184
慢半拍i
慢半拍i 2021-02-14 03:57

I am using Eclipse 3.5 (Galileo) with m2eclipse and GWT Eclipse plugins installed. I created a project using the gwt-maven-plugin archetype. I have created an RPC service defi

2条回答
  •  后悔当初
    2021-02-14 05:03

    You might actually have generated a duplicate class.

    There is a "generateAsync" goal in pom.xml which takes care of generating Async classes for each service You create. If You have this You DO NOT NEED to create a Async version manually.

    If You do then You will get "Duplicate Class" error.

提交回复
热议问题