PDA

View Full Version : Unable to find error in classpath



sz_146
18 Feb 2009, 2:40 AM
I am new to ext-GWT. I have written an application and tested it in Eclipse which works fine. However when I test it in the hosted mode or as a standalone I get the error :

[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?

I have followed the instructions in the setup file and added the gxt.jar to my classpath as an External Jar. I have also addthe inherit in my xml :



<module>

<inherits name='com.google.gwt.user.User'/>

<inherits name='com.google.gwt.user.theme.standard.Standard'/>

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

<entry-point class='com.docobo.gwt.sample.layouttest.client.LayoutTest'/>

<stylesheet src='css/LayoutTest.css' />
<stylesheet src='css/ext-all.css' />

</module>


But I am still getting the error. In my Eclipse I have checked the gxt.jar and I can see the com.extjs.gxt.ui and inside there is a GXT.gwt.xml as well.