In GWT, when you get this error in hosted mode
Deferred binding result type should not be abstract
or
The following error while compiling
Rebind result must be a class
most likely you have forgot to extend your business interface from RemoteService. Therefore GWT engine is trying to instantiate the interface itself. That is , instead of
[sourcecode language=’java’]
@RemoteServiceRelativePath(“relativeServicePath”)
public interface BusinessInterface extends RemoteService
[/sourcecode]
you have written
[sourcecode language=’java’]
@RemoteServiceRelativePath(“relativeServicePath”)
public interface BusinessInterface
[/sourcecode]
It is exactly the other way around, but you have highlighted the right place in the code where the error comes from. Thank you.
Now the original post has been corrected and my previous comment is obsolete. Thanks again to the author for uncovering the cause of this error.
For others reading this (its high in search results)
Check your passing the right the non-async class to your GWT.create call.
this 🙂