Techspace

IT happens only in IT

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

May 19, 2009 - Posted by Paras | GWT | , , | 2 Comments

2 Comments »

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

    Comment by Jorge Ortiz | May 27, 2009 | Reply

    • 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.

      Comment by Jorge Ortiz | May 28, 2009 | Reply


Leave a comment