GWT exception : Deferred binding result type should not be abstract Or Rebind result must be a class

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

@RemoteServiceRelativePath("relativeServicePath")
    public interface BusinessInterface extends RemoteService

you have written

@RemoteServiceRelativePath("relativeServicePath")
    public interface BusinessInterface

4 thoughts on “GWT exception : Deferred binding result type should not be abstract Or Rebind result must be a class

  1. Jorge Ortiz

    It is exactly the other way around, but you have highlighted the right place in the code where the error comes from. Thank you.

    Reply
    1. Jorge Ortiz

      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.

      Reply
  2. Richy

    For others reading this (its high in search results)
    Check your passing the right the non-async class to your GWT.create call.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *