Sunday, May 1, 2011

Beginner: Ext GWT - NoClassDefFoundError: com/google/gwt/core/ext/Generator

Hi,

I have set up the basic GWT HelloWorld equivalent and all works fine..
RPC call etc..
I have followed the most basic Ext GWT (Sencha) tutorial to convert
this to ExtGWT project

ref: http://www.sencha.com/learn/Ext_GWT_Getting_Started_Tutorials

Its a really simple tutorial...copy in resources, a few minor
edits.... It takes a few mins. It worked first time but refuses to
work now!!! Once I insert the line inheriting Ext stuff in my
xxx.gwt.xml file I get a runtime error where it cant finid the GWT
Generator class. I can see from eclipse debug mode that the GWT jars,
gwt-dev.jar and gwt-user.jar: (from Eclipse plugin) are on
classpath..

xxx.gwt.xml file:
<!-- Other module inherits -->
<inherits name="com.extjs.gxt.ui.GXT" />

At run time an exception is thrown as it fails to find com/google/gwt/
core/ext/Generator. If i remove this 'inherit' the error disappears!

Loading modules
com.hello.gwt.HelloGWT
Loading inherited module 'com.extjs.gxt.ui.GXT'
[ERROR] Unexpected error while processing XML
java.lang.NoClassDefFoundError: com/google/gwt/core/ext/Generator
at java.lang.ClassLoader.findBootstrapClass(Native Method)

Any tips greatly appreciated...

Best regards,
W

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

No comments:

Post a Comment