title: GWT: Servlet URL mapping gives a 404 error
body: <p>I have read the other GWT Servlet questions, but I'm having trouble solving my problem still. My package is called Maps, and it has a service named MyService (which was set up according to a GWT Tutorial). The web.xml file includes the following:</p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;MyServiceImpl&lt;/servlet-name&gt;
      &lt;servlet-class&gt;com.xerox.maps.maps.server.MyServiceImpl&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;MyServiceImpl&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/Maps/service&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>In MyService, I have the line:</p>
  
  <pre><code>@RemoteServiceRelativePath("service")
  public interface MyService extends RemoteService { ...
  </code></pre>
  
  <p>However, when I try to make an RPC call, there is an error thrown. The details of the error say that it is a 404 HTTP error. How can I fix this, to make sure that the mapping is correct?</p>
  
  <p><strong>Edit 7.27</strong></p>
  
  <p>MyService.java contains the annotation:</p>
  
  <pre><code>@RemoteServiceRelativePath("service")
  </code></pre>
  
  <p>And web.xml contains:</p>
  
  <pre><code>&lt;servlet-name&gt;MyServiceImpl&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/com.x.maps.Maps/service&lt;/url-pattern&gt;
  </code></pre>
  
  <p>If I follow the XHR with FireBug, it shows me that there is a call to com.x.maps.Maps</p>