title: No webpage was found for the web address using RestEasy
body: <p>I am trying to create a sample REST service using RestEasy. Below is my Java class</p>
  <pre><code>@Path(&quot;/message&quot;)
  public class MessageRestService {
  
      @GET
      @Path(&quot;/{param}&quot;)
      public Response getMessage(@PathParam(&quot;param&quot;)String msg){
          String result = &quot;Hello World &quot;+msg;
          return Response.status(200).entity(result).build();
      }
  }
  </code></pre>
  <p>My <code>web.xml</code> is like below</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;web-app id=&quot;WebApp_ID&quot; version=&quot;2.4&quot;
           xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;
           xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
           xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/j2ee
      http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot;&gt;
  
  
      &lt;context-param&gt;
          &lt;param-name&gt;resteasy.scan&lt;/param-name&gt;
          &lt;param-value&gt;true&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;!-- this need same with resteasy servlet url-pattern --&gt;
      &lt;context-param&gt;
          &lt;param-name&gt;resteasy.servlet.mapping.prefix&lt;/param-name&gt;
          &lt;param-value&gt;/rest&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;listener&gt;
          &lt;listener-class&gt;
              org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
          &lt;/listener-class&gt;
      &lt;/listener&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;resteasy-servlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;
              org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
          &lt;/servlet-class&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;resteasy-servlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/rest/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;
              index.html
          &lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  <p>The RestEasy version I am using is 3.0.12. When I hit the URL like below</p>
  <pre><code>http://localhost:8080/RestPathAnnotationExample/rest/message/test
  </code></pre>
  <p>This <code>localhost</code> page can’t be found.</p>
  <pre><code>No webpage was found for the web address: http://localhost:8080/RestPathAnnotationExample/rest/message/test
  </code></pre>
  <p>I am deploying on Tomcat 8.</p>