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
I have found this posting which states:
If you manually create the Async interface you must disable the generateAsync goal in the plugin configuration
The fix was to remove <goal>generateAsync</goal>
from my pom.xml. The plugin config now looks like:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<runTarget>my.package.Application/Application.html</runTarget>
</configuration>
</plugin>
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.