Could not find "com / extjs / gxt / ui / GXT.gwt.xml" in the GXT example application

I am trying to run a sample application using GXT (ExtJS + GWT) as described in a tutorial

http://www.sencha.com/learn/setting-up-your-first-ext-gwt-project-in-eclipse

When I try to run the application in eclipse, I get an error

Loading modules com.hello.gxt.HelloGXT Loading inherited module 'com.extjs.gxt.ui.GXT' [ERROR] Unable to find 'com/extjs/gxt/ui/GXT.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] Line 15: Unexpected exception while processing element 'inherits' 

My build path is as follows

enter image description here

and the startup configuration build path is as follows:

enter image description here

Here's the source: https://dl.dropbox.com/u/11776689/2012_09_27_HelloGXT.zip

How can I fix the problem?

'Update 09.29.2012': the first error is fixed, but now I get another:

 Loading modules com.hello.gxt.HelloGXT Loading inherited module 'com.sencha.gxt.ui.GXT' Loading inherited module 'com.sencha.gxt.data.Data' Loading inherited module 'com.sencha.gxt.core.Core' [ERROR] Unexpected error while processing XML java.lang.NoClassDefFoundError: com/google/gwt/core/ext/Generator at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) 
+4
source share
1 answer

Modify the * .gwt.xml file with

 <inherits name="com.extjs.gxt.ui.GXT" /> 

to

 <inherits name='com.sencha.gxt.ui.GXT' /> 

The tutorial you used is specifically for version 2.0. From GXT 3.0, the namespace has been changed to com.sencha.gxt ...

UPDATE - to answer the following problem:

I think you are missing gwt-dev.jar

See this for reference: http://www.sencha.com/forum/showthread.php?73617-GWT-1.64-Class-not-found-exception-GXT-module-declaration-is .

+8
source

Source: https://habr.com/ru/post/1436679/


All Articles