Wednesday, July 23, 2014

Re: [ERROR] Unable to find *.gwt.xml on your classpath

What build tool do you use? (looks like Ant) and how's it configured?
You probably forgot to add the Server/Common/src folder to the classpath for the GWT Compiler, or if you package Server/Common as a JAR then you forgot to either include the *.ui.xml and *.java in the JAR, or create a "sources JAR" with the *.ui.xml and *.java (to be used alongside of instead of the "normal JAR" in the classpath for the GWT Compiler).

On Tuesday, July 22, 2014 10:59:40 PM UTC+2, Marco wrote:
Hello all, 

I need some help with GWT. We have a Java project and we use GWT to build the UI, the structure of my project is something similar to this:
                   |-> (Package)

I want to use a method that is in from, for that I have created util.gwt.xml

<?xml version="1.0" encoding="UTF-8"?>
  <inherits name=''/>
  <source path="util"></source>

and modified the ws.gwt.xml

<inherits name=""/>
<entry-point class=''/>

When I try to compile the code I am getting this error:

    [mkdir] Created dir: c:\Test_trunk_217\build\server\gwt
     [java] Loading inherited module ''
     [java]    Loading inherited module ''
     [java]       [ERROR] Unable to find 'com/abc/core/util.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
     [java]    [ERROR] Line 14: Unexpected exception while processing element 'inherits'

Please give me a hand.


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment