title: jersey2 ws giving a 404 response
body: <p>i'm trying to develop a basic RESTFULL application, i found some tutorials but i don't know what is going on because everything looks right. I'm launching the app with the maven tomcat plugin (if it helps).</p>
  
  <p>Here are the web.xml and the controller.</p>
  
  <pre><code>    &lt;servlet&gt;
      &lt;servlet-name&gt;jersey-serlvet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.glassfish.jersey.servlet.ServletContainer&lt;/servlet-class&gt;
      &lt;init-param&gt;
           &lt;param-name&gt;jersey.config.server.provider.packages&lt;/param-name&gt;
           &lt;param-value&gt;
              com.servicios.ws.controller
           &lt;/param-value&gt;
      &lt;/init-param&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;jersey-serlvet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/ws/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>and the controller </p>
  
  <pre><code>@Path("/ws/test")
  public class UsuarioController {
      @GET
      @Path("/login")
      public final String findUsuarioById() {
  
          return "TEST OK";
      }
  }
  </code></pre>
  
  <p>Finally, here you have the pom versions</p>
  
  <pre><code>&lt;plugin&gt;
                          &lt;groupId&gt;org.apache.tomcat.maven&lt;/groupId&gt;
                          &lt;artifactId&gt;tomcat7-maven-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.2&lt;/version&gt;
  
                  &lt;/plugin&gt;
  
  &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.containers&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-container-servlet&lt;/artifactId&gt;
              &lt;version&gt;2.25&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.media&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-media-json-jackson&lt;/artifactId&gt;
              &lt;version&gt;2.25&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.ext&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-spring3&lt;/artifactId&gt;
              &lt;version&gt;2.25&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>It should work, but when i try to access the /ws/test/login, i get the 404.</p>
  
  <p>Thanks in advance</p>