When I updated Google Plugin for Eclipse from version 1.0.1 to 1.1.0,
my GWT project started throwing errors. I had a DataService class and
a DataServiceAsync class that were working fine, but GWT was claiming
that DataServiceAsync had an error and needed a DataServiceAsyncAsync.

In my case, the solution lay in editing the interface declaration.
Here's how DataServiceAsync used to start:

@RemoteServiceRelativePath("data")
public interface DataServiceAsync extends RemoteService {

I changed it to this:

public interface DataServiceAsync {

That fixed it! I suppose that this situation arose when I copied
DataService.java to DataServiceAsync.java and then fixed up the method
signatures and class name, but neglected to remove the annotation and
inheritence.

Apparently the older version of the plugin did not mind, but the newer
one does.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to