title: Resteasy not working with @ApplicationPath
body: <p>I am not being able to get JAX-RS working with Resteasy 2.3.5 usingh simple @ApplicationPath annotation. Here is the code I am using:</p>
  
  <pre><code>@ApplicationPath("/rest")
  public class MyApplication extends Application {
    @Override
    public Set&lt;Class&lt;?&gt;&gt; getClasses() {
      final Set&lt;Class&lt;?&gt;&gt; s = new HashSet&lt;Class&lt;?&gt;&gt;();
      s.add(ViewController.class);
      return s;
    }
  }
  
  @Path("/")
  public class ViewController {
    @GET
    @Path("/test")
    public String test() {
      return "Yes!";
    }
  }
  </code></pre>
  
  <p>Requesting on "/uri-context/rest/test/" throws a 404. Using Jersey everything works seamlessly. Since this is a very trivial part of JAX-RS what's going on wrong?</p>
  
  <p>Currently I am using only 4 libs of Resteasy that I would require:</p>
  
  <ul>
  <li>async-http-servlet-3.0-2.3.5.Final.jar</li>
  <li>jaxrs-api-2.3.5.Final.jar</li>
  <li>resteasy-jaxrs-2.3.5.Final.jar</li>
  <li>scannotation-1.0.3.jar</li>
  </ul>
  
  <p>Nevertheless, putting all the libs (except for resteasy-cdi-2.3.5.Final.jar), also does not solve the problem.</p>