Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand

129 views
Skip to first unread message

Rob Tanner

unread,
Aug 4, 2011, 1:20:51 PM8/4/11
to Google Web Toolkit
Hi,

I have a production application built using GWT 2.1.1 and the Eclipse
plugin. I've just installed Eclipse Indigo (jee edition) and the GWT
2.3 plugin. Not wanting to break something that already works, I
created a new workspace in Eclipse and than imported the project.
When I try to bring up the project in Development mode I get lots and
lots of errors (could say all hell breaks loose). Below is the output
I get in Eclipse. I'm hoping there's a simple configuration solution
to this problem, but at this point I have no idea what it is.

Thanks,
Rob



[DEBUG] [accountrequest] - Validating newly compiled units
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/dom/client/CanvasElement.java'
[ERROR] [accountrequest] - Line 43: No source code is available for
type com.google.gwt.canvas.dom.client.Context; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Line 54: No source code is available for
type com.google.gwt.canvas.dom.client.Context2d; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/dom/client/MediaElement.java'
[ERROR] [accountrequest] - Line 124: No source code is available for
type com.google.gwt.media.dom.client.TimeRanges; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Line 178: No source code is available for
type com.google.gwt.media.dom.client.MediaError; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/dom/client/Touch.java'
[ERROR] [accountrequest] - Line 36: The method
touchGetClientX(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 45: The method
touchGetClientY(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 54: The method
touchGetIdentifier(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 63: The method touchGetPageX(Touch)
is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 72: The method touchGetPageY(Touch)
is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 103: The method
touchGetScreenX(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 112: The method
touchGetScreenY(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 121: The method
touchGetTarget(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/EditorDriver.java'
[ERROR] [accountrequest] - Line 97: No source code is available for
type javax.validation.ConstraintViolation<T>; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/
AbstractEditorContext.java'
[ERROR] [accountrequest] - Line 92: The method
addSubDelegate(AbstractEditorDelegate, String, Editor<capture#16-of ?
>) is undefined for the type AbstractEditorDelegate<T,capture#15-of ?>
[ERROR] [accountrequest] - Line 93: The method getEditorChain() is
undefined for the type AbstractEditorDelegate<T,capture#17-of ?>
[ERROR] [accountrequest] - Line 129: The method
accept(EditorVisitor) is undefined for the type
AbstractEditorDelegate<capture#23-of ?,capture#24-of ?>
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'
[ERROR] [accountrequest] - Line 67: No source code is available for
type javax.validation.ConstraintViolation<T>; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Line 82: The method initialize(String, T,
E, DelegateMap) in the type AbstractEditorDelegate<T,E> is not
applicable for the arguments (String, E)
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/DirtCollector.java'
[ERROR] [accountrequest] - Line 38: The method isDirty() is
undefined for the type AbstractEditorDelegate<T,capture#3-of ?>
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/ErrorCollector.java'
[ERROR] [accountrequest] - Line 48: The method getErrors() is
undefined for the type AbstractEditorDelegate<capture#5-of ?,capture#6-
of ?>
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/Initializer.java'
[ERROR] [accountrequest] - Line 45: The method getEditorChain() is
undefined for the type AbstractEditorDelegate<Q,capture#7-of ?>
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/Refresher.java'
[ERROR] [accountrequest] - Line 34: The method setDirty(boolean) is
undefined for the type AbstractEditorDelegate<Q,capture#5-of ?>
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java'
[ERROR] [accountrequest] - Line 40: No source code is available for
type javax.validation.ConstraintViolation<T>; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Line 108: The method
of(EditorDriver<capture#8-of ?>, DelegateMap.KeyMethod) is undefined
for the type DelegateMap
[ERROR] [accountrequest] - Line 127: The method
getDelegatesByPath(String) is undefined for the type DelegateMap
[ERROR] [accountrequest] - Line 128: The method
getEditorByPath(String) is undefined for the type DelegateMap
[ERROR] [accountrequest] - Line 137: The method recordError(String,
Object, Object, String) in the type AbstractEditorDelegate<capture#13-
of ?,capture#14-of ?> is not applicable for the arguments (String,
null, Object, String, Editor<capture#15-of ?>)
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/dom/client/GestureChangeEvent.java'
[ERROR] [accountrequest] - Line 53: The method getRotation() is
undefined for the type NativeEvent
[ERROR] [accountrequest] - Line 57: The method getScale() is
undefined for the type NativeEvent
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/dom/client/GestureEndEvent.java'
[ERROR] [accountrequest] - Line 53: The method getRotation() is
undefined for the type NativeEvent
[ERROR] [accountrequest] - Line 57: The method getScale() is
undefined for the type NativeEvent
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/dom/client/GestureStartEvent.java'
[ERROR] [accountrequest] - Line 53: The method getRotation() is
undefined for the type NativeEvent
[ERROR] [accountrequest] - Line 57: The method getScale() is
undefined for the type NativeEvent
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/dom/client/TouchEvent.java'
[ERROR] [accountrequest] - Line 89: The method getChangedTouches()
is undefined for the type NativeEvent
[ERROR] [accountrequest] - Line 102: The method getTargetTouches()
is undefined for the type NativeEvent
[ERROR] [accountrequest] - Line 114: The method getTouches() is
undefined for the type NativeEvent
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/LegacyHandlerWrapper.java'
[ERROR] [accountrequest] - 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] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/user/client/ui/ResizeLayoutPanel.java'
[ERROR] [accountrequest] - Line 360: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 373: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 381: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 391: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 392: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 396: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 400: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 400: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 433: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 434: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/user/client/ui/SimpleLayoutPanel.java'
[ERROR] [accountrequest] - Line 36: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 37: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 44: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 57: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 65: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 75: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 76: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 80: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 84: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Line 84: The field SimplePanel.widget is
not visible
[ERROR] [accountrequest] - Unable to load module entry point class
org.linfield.accountRequest.client.AccountRequest (see associated
exception for details)
[ERROR] [accountrequest] - Failed to load module 'accountrequest' from
user agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1)
Gecko/20100101 Firefox/5.0.1' at localhost:49878

Ioan Agopian

unread,
Aug 4, 2011, 6:11:26 PM8/4/11
to Google Web Toolkit
Hi,

It seems that GWT is no longer in the build path. Try setting it again
in the project settings under Google / Web toolkit.

Regards,
Ioan

Jeff Larsen

unread,
Aug 4, 2011, 8:10:21 PM8/4/11
to google-we...@googlegroups.com
Are you using maven? 

This looks like you have competing versions of GWT on your classpath and the old one is winning :)

Rob Tanner

unread,
Aug 5, 2011, 9:39:10 PM8/5/11
to Google Web Toolkit
One lousy jar file. That was it and so now it works perfectly.
Thanks!!

On Aug 4, 3:11 pm, Ioan Agopian <ioan.agop...@gmail.com> wrote:
> Hi,
>
> It seems that GWT is no longer in the build path. Try setting it again
> in the project settings under Google / Web toolkit.
>
> Regards,
> Ioan
>
> On Aug 4, 8:20 pm, Rob Tanner <caspersg...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I have a production application built using GWT 2.1.1 and the Eclipse
> > plugin.  I've just installed EclipseIndigo(jee edition) and the GWT
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages