Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand
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.ConstraintViolationT; 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, Editorcapture#16-of ? ) is undefined for the type AbstractEditorDelegateT,capture#15-of ? [ERROR] [accountrequest] - Line 93: The method getEditorChain() is undefined for the type AbstractEditorDelegateT,capture#17-of ? [ERROR] [accountrequest] - Line 129: The method accept(EditorVisitor) is undefined for the type AbstractEditorDelegatecapture#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.ConstraintViolationT; did you forget to inherit a required module? [ERROR] [accountrequest] - Line 82: The method initialize(String, T, E, DelegateMap) in the type AbstractEditorDelegateT,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-
Re: Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand
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 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.ConstraintViolationT; 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, Editorcapture#16-of ?) is undefined for the type AbstractEditorDelegateT,capture#15-of ? [ERROR] [accountrequest] - Line 93: The method getEditorChain() is undefined for the type AbstractEditorDelegateT,capture#17-of ? [ERROR] [accountrequest] - Line 129: The method accept(EditorVisitor) is undefined for the type AbstractEditorDelegatecapture#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.ConstraintViolationT; did you forget to inherit a required module? [ERROR] [accountrequest] - Line 82: The method initialize(String, T, E, DelegateMap) in the
Re: Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand
Are you using maven? This looks like you have competing versions of GWT on your classpath and the old one is winning :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VVr-1tf30KkJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.