title: GWT: Unable to find GWTModule/gwt/xml.gwt.xml
body: <p>When I try to compile an Eclipse Dynamic Web Application that uses GWT, I get the following error message:</p>
  
  <blockquote>
    <p>[ERROR] Unable to find
    'GWTModule/gwt/xml.gwt.xml' on your
    classpath; could be a typo, or maybe
    you forgot to include a classpath
    entry for source?</p>
  </blockquote>
  
  <p>I can't figure out what is causing this problem. 
  My Eclipse build path contains next to some other GWT-unrelated jars/libs the GWT SDK (2.1.0).</p>
  
  <p>My GWTModule.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.1.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.1.0/distro-source/core/src/gwt-module.dtd"&gt;
  &lt;module&gt;
      &lt;inherits name="com.google.gwt.user.User" /&gt;
      &lt;source path="client"/&gt;
      &lt;entry-point class="gwttest.ui.client.TestUI" /&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>The environments classpath variable is not set, because of <a href="https://stackoverflow.com/questions/4075839/gwt-eclipse-classnotfoundexception-com-google-gwt-dev-compiler">this problem</a></p>
  
  <p>I encountered a similar problem with a completely new GWT project, but there the project could be compiled - the error message showed up at runtime in the GWT log...</p>
  
  <p>My System:</p>
  
  <ul>
  <li>Windows XP</li>
  <li>Eclipse for Java EE 3.6 (Helios) with GWT plugin</li>
  <li>GWT 2.1.0</li>
  <li>Java EE / JDK 1.6.0</li>
  </ul>