title: Jersey - The requested resource (Not Found) is not available
body: <p>It seems that any settings i try it doesn't work to access the methods in class. I keep getting 404 not found.
  This is the web.xml file:</p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;Restful Web Service&lt;/servlet-name&gt;
      &lt;servlet-class&gt;com.sun.jersey.spi.container.servlet.ServletContainer&lt;/servlet-class&gt;
      &lt;init-param&gt;
          &lt;param-name&gt;com.sun.jersey.config.property.packages&lt;/param-name&gt;
          &lt;param-value&gt;restfulexample.status&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;Restful Web Service&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>   </p>
  
  <p>and this the java file inside src/main/java:</p>
  
  <pre><code>package restfulexample.status;
  
  import javax.ws.rs.*;
  import javax.ws.rs.core.MediaType;
  
  @Path("v1/status")
  public class V1_status {
  
  @GET
  @Produces(MediaType.TEXT_PLAIN)
  public String returnTitle(){
      return "Java restful api";
  }
  }
  </code></pre>