title: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: using RestEASY, Intellij IDEA 16.1, Tomcat 8.0.33
body: <p>It have been asked a lot questions kind of this, but I have tried all suggested variants, googled my problem, checked RestEASY specification. Nothing helped me. 
  I am creating a very simple kind of "Hello World" application. And when I am writing the  URL that routes to my REST Service, I receive the following error and the blank, empty page in my browser.</p>
  
  <p><strong>This is the stack trace:</strong></p>
  
  <pre><code>15-May-2016 14:41:58.977 ERROR [http-nio-8080-exec-5] org.jboss.resteasy.core.ExceptionHandler.handleWebApplicationException RESTEASY002010: Failed to execute
   javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://localhost:8080/api/v1/status
      at org.jboss.resteasy.core.registry.ClassNode.match(ClassNode.java:75)
      at org.jboss.resteasy.core.registry.RootClassNode.match(RootClassNode.java:48)
      at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:445)
      at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:257)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:194)
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p><strong>This is my pom.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.taras.resty&lt;/groupId&gt;
      &lt;artifactId&gt;Resty&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;LATEST&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax&lt;/groupId&gt;
              &lt;artifactId&gt;javaee-web-api&lt;/artifactId&gt;
              &lt;version&gt;LATEST&lt;/version&gt;
       &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>This is my web.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
           version="3.1"&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;V1_Status&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher&lt;/servlet-class&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;javax.ws.rs.Application&lt;/param-name&gt;
              &lt;param-value&gt;com.taras.resty.status.V1_Status&lt;/param-value&gt;
          &lt;/init-param&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;V1_Status&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/api/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p><strong>And this is my class that handles my REST requests:</strong></p>
  
  <pre><code>package com.taras.resty.status;
  
  import javax.ws.rs.GET;
  import javax.ws.rs.Path;
  import javax.ws.rs.Produces;
  import javax.ws.rs.core.MediaType;
  import javax.ws.rs.core.Application;
  import javax.ws.rs.ApplicationPath;
  
  @ApplicationPath("/v1/status")
  public class V1_Status extends Application  {
      private static final String api_version= "00.01.00";
  
      @GET
      @Produces(MediaType.TEXT_HTML)
      public String returnTitle(){
          return "&lt;p&gt;Java Web Service&lt;/p&gt;";
      }
  
      @Path("/version")
      @GET
      @Produces(MediaType.TEXT_HTML)
      public String returnVersion(){
          return "&lt;p&gt;Version + &lt;/p&gt;" + api_version;
      }
  
  }
  </code></pre>
  
  <p>The URL that I am using is : <a href="http://localhost:8080/api/v1/status" rel="nofollow">http://localhost:8080/api/v1/status</a></p>
  
  <p>Thank you in advance. </p>
  
  <p><strong>EDIT - SOLVED</strong>  For people who will face the same problem. @tair helped me a lot in solving my bug. just try his version (you can find it here <a href="https://github.com/tsabirgaliev/hello-jaxrs" rel="nofollow">https://github.com/tsabirgaliev/hello-jaxrs</a>). 
  We haven't found the reason, it has disappered  somehow(magic).
  And of course for more detailed information look into the specification 
  <a href="http://docs.jboss.org/resteasy/docs/3.0.16.Final/userguide/html_single/index.html#d4e113" rel="nofollow">http://docs.jboss.org/resteasy/docs/3.0.16.Final/userguide/html_single/index.html#d4e113</a> </p>