title: Can we have an empty base path?
body: <p>Can we have an empty basepath for @Path annotation? 
  ie. @Path("/") </p>
  
  <p>I want to provide REST api <a href="http://servername/abc" rel="nofollow">http://servername/abc</a></p>
  
  <pre><code>@Path("")
  public class YourResource {
  
    @Path("/abc")
    @GET
    public Responce method1(){
      return Response.ok("ok").build();
    }
  
  }
  </code></pre>
  
  <p>When I do this, exception is thrown</p>
  
  <p>javax.ws.rs.WebApplicationException
      at com.sun.jersey.server.impl.uri.rules.TerminatingRule.accept(TerminatingRule.java:66)
      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</p>
  
  <p>UPDATE - I bind in my GuiceServletContextListener like below</p>
  
  <blockquote>
    <p>bind(YourResource.class).in(Singleton.class);</p>
    
    <p>serve("/abc").with(GuiceContainer.class);</p>
  </blockquote>