Fail upgrade to GWT 2.3

890 views
Skip to first unread message

Bert

unread,
May 5, 2011, 4:23:45 AM5/5/11
to Google Web Toolkit
Hi,

I got some errors when I upgrade my application from GWT 2.1.1 to GWT
2.3 in eclipse plugin. I change nothing in my code.

[DEBUG] [erdilverbatimvisualisation] - Validating newly compiled units
[ERROR] [erdilverbatimvisualisation] - Errors in 'jar:file:/C:/
eclipse-jee-helios/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/EventBus.java'
[ERROR] [erdilverbatimvisualisation] - Line 24: No source code is
available for type com.google.web.bindery.event.shared.EventBus; did
you forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 28: No source code is
available for type
com.google.web.bindery.event.shared.HandlerRegistration; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 28: No source code is
available for type
com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 48: No source code is
available for type com.google.web.bindery.event.shared.Event<H>; did
you forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 68: Cannot cast from
GwtEvent<capture#1-of ?> to Event<?>
[ERROR] [erdilverbatimvisualisation] - Line 69: No source code is
available for type
com.google.web.bindery.event.shared.UmbrellaException; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 76: Cannot cast from
GwtEvent<capture#3-of ?> to Event<?>
[ERROR] [erdilverbatimvisualisation] - Errors in 'jar:file:/C:/
eclipse-jee-helios/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/LegacyHandlerWrapper.java'
[ERROR] [erdilverbatimvisualisation] - Line 19: No source code is
available for type
com.google.web.bindery.event.shared.HandlerRegistration; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Errors in 'jar:file:/C:/
eclipse-jee-helios/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/ResettableEventBus.java'
[ERROR] [erdilverbatimvisualisation] - Line 27: No source code is
available for type
com.google.web.bindery.event.shared.ResettableEventBus; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 49: Cannot cast from
GwtEvent.Type<H> to Event.Type<H>
[ERROR] [erdilverbatimvisualisation] - Line 49: No source code is
available for type
com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 53: No source code is
available for type
com.google.web.bindery.event.shared.HandlerRegistration; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 59: Cannot cast from
GwtEvent.Type<H> to Event.Type<H>
[ERROR] [erdilverbatimvisualisation] - Line 68: No source code is
available for type com.google.web.bindery.event.shared.Event<H>; did
you forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Errors in 'jar:file:/C:/
eclipse-jee-helios/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/SimpleEventBus.java'
[ERROR] [erdilverbatimvisualisation] - Line 27: No source code is
available for type com.google.web.bindery.event.shared.SimpleEventBus;
did you forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 32: Cannot cast from
GwtEvent.Type<H> to Event.Type<H>
[ERROR] [erdilverbatimvisualisation] - Line 32: No source code is
available for type
com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 36: No source code is
available for type
com.google.web.bindery.event.shared.HandlerRegistration; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 42: Cannot cast from
GwtEvent.Type<H> to Event.Type<H>
[ERROR] [erdilverbatimvisualisation] - Line 51: No source code is
available for type com.google.web.bindery.event.shared.Event<H>; did
you forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Errors in 'jar:file:/C:/
eclipse-jee-helios/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/UmbrellaException.java'
[ERROR] [erdilverbatimvisualisation] - Line 24: No source code is
available for type
com.google.web.bindery.event.shared.UmbrellaException; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Errors in 'jar:file:/C:/
eclipse-jee-helios/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/testing/CountingEventBus.java'
[ERROR] [erdilverbatimvisualisation] - Line 29: No source code is
available for type
com.google.web.bindery.event.shared.testing.CountingEventBus; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 41: Cannot cast from
GwtEvent.Type<H> to Event.Type<H>
[ERROR] [erdilverbatimvisualisation] - Line 41: No source code is
available for type
com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 45: No source code is
available for type
com.google.web.bindery.event.shared.HandlerRegistration; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 51: Cannot cast from
GwtEvent.Type<H> to Event.Type<H>
[ERROR] [erdilverbatimvisualisation] - Line 60: No source code is
available for type com.google.web.bindery.event.shared.Event<H>; did
you forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 80: The method
getCount(Event.Type<?>) in the type CountingEventBus is not applicable
for the arguments (GwtEvent.Type<capture#5-of ?>)
[TRACE] [erdilverbatimvisualisation] - Finding entry point classes
[ERROR] [erdilverbatimvisualisation] - Unable to find type
'erdil.gwt.client.verbatim.client.ErdilVerbatimVisualisation'
[ERROR] [erdilverbatimvisualisation] - Hint: Previous compiler
errors may have made this type unavailable
[ERROR] [erdilverbatimvisualisation] - Hint: Check the inheritance
chain from your module; it may not be inheriting a required module or
a module may not be adding its source path entries properly
[ERROR] [erdilverbatimvisualisation] - Failed to load module
'erdilverbatimvisualisation' from user agent 'Mozilla/5.0 (Windows NT
6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1' at 127.0.0.1:51289

Thanks,

Bert

Juan Pablo Gardella

unread,
May 5, 2011, 3:45:48 PM5/5/11
to google-we...@googlegroups.com
Can you past the .classpath file?

2011/5/5 Bert <btro...@yahoo.fr>

--
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-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Ron

unread,
May 9, 2011, 8:30:34 AM5/9/11
to google-we...@googlegroups.com
Just add <inherits name="com.google.web.bindery.event.Event"/> to your main <project>.gwt.xml - but you will still get Cannot cast from GwtEvent.Type<H> to Event.Type<H> from SmartGWT. Seems like its not compatible with GWT 2.3 yet - I also tested SmartGWT 2.5 latest nightly - still get the cast error.

Sanjiv Jivan

unread,
May 18, 2011, 10:36:44 AM5/18/11
to google-we...@googlegroups.com
Hi,
You can work around this by placing the GWT 2.3 jars before the Smart GWT jars in your classpath. This has been resolved in SVN and will be reflected in the next nightly build and the upcoming Smart GWT 2.5 release.

Let me know if you still have any problems.

Thanks,
Sanjiv

On Mon, May 9, 2011 at 8:30 AM, Ron <blod....@googlemail.com> wrote:
Just add <inherits name="com.google.web.bindery.event.Event"/> to your main <project>.gwt.xml - but you will still get Cannot cast from GwtEvent.Type<H> to Event.Type<H> from SmartGWT. Seems like its not compatible with GWT 2.3 yet - I also tested SmartGWT 2.5 latest nightly - still get the cast error.

--

mohit

unread,
Jun 20, 2011, 1:05:44 AM6/20/11
to Google Web Toolkit
Hi,
just did exactly the same and all my errors are gone.
But my application is not working properly.
By properly I mean, my data table is being displayed but the data is
missing.
When I compile and run the same application using SmartGwt 2.1 and GWT
2.1.1 it runs
just fine.
It is not showing any errors.

Please Help.
Reply all
Reply to author
Forward
0 new messages