Closed GoogleCodeExporter closed 9 years ago
I'm having trouble repeating this. I am able to use gwt version 2.0.3 as well
as
2.1.0M1. Is there any more useful data provided in your IDE or console output?
Original comment by Brad.Ryd...@gmail.com
on 1 Jun 2010 at 10:06
I have done some research on the problem and found this:
> Hi,
>
> I'm trying to instantiate an abstract class with GWT.create(), however
> the compiler tells me that rebind results can't be abstract. Is there
> an explanation for this? If rebind results can be interfaces, why not
> abstract classes?
You're missing a <generate-with> or <replace-with> deferred-binding
rule in your module(s) to generate/"redirect" to a non-abstract,
"default instantiable" class.
When no <generate-with> or <replace-with> rule match, GWT.create()
uses a "new TheClass()" as a last resort, so it has to be concrete
(non-abstract).
From what I can see in the "source" via eclipse, you are using the
GWT.create(); Is
there something in your module.xml regarding the generate-with?
I have attached my module.xml as well for comparision.
Original comment by aazzin...@gmail.com
on 6 Jun 2010 at 3:11
Attachments:
I took a look at your module xml file. We are no longer supporting the ms
outlook 2000
theme... I meant to remove it from trunk. If you use the google or ical theme
you
should no longer have this error.
Original comment by Brad.Ryd...@gmail.com
on 7 Jun 2010 at 4:53
That did it. Thanks for the help
Original comment by aazzin...@gmail.com
on 10 Jun 2010 at 11:33
Original issue reported on code.google.com by
aazzin...@gmail.com
on 30 May 2010 at 7:26