title: Weird issue when try to create Jax-Rs 2.0 project on Websphere Liberty Profile 8.5.5.6
body: <p>Can't understand what's wrong, but created Dynamic Web Project with the following facets: </p>
  
  <ol>
  <li>Dynamic Web Module 3.1</li>
  <li>Java 1.8</li>
  <li>JavaScript 1.0</li>
  <li>Jax-RS 2.0</li>
  </ol>
  
  <p><strong>Runtime</strong>: Websphere Application Server Liberty Profile. </p>
  
  <p>It isn't my first project with such configuration and everything gone ok until now. In this project I receive the following error when try to perform any RESTful request:</p>
  
  <pre><code>[ERROR   ] SRVE0271E: Uncaught init() exception created by servlet [javax.ws.rs.core.Application] in application [EscapeRoom]: javax.servlet.ServletException: At least one provider or resource class should be specified for application class "javax.ws.rs.core.Application
      at com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.doInit(LibertyJaxRsServerFactoryBean.java:303)
      at [internal classes]
  
  [ERROR   ] SRVE0276E: Error while initializing Servlet [javax.ws.rs.core.Application]: javax.servlet.ServletException: At least one provider or resource class should be specified for application class "javax.ws.rs.core.Application
      at com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.doInit(LibertyJaxRsServerFactoryBean.java:303)
      at [internal classes]
  
  [ERROR   ] SRVE0271E: Uncaught init() exception created by servlet [javax.ws.rs.core.Application] in application [EscapeRoom]: javax.servlet.ServletException: At least one provider or resource class should be specified for application class "javax.ws.rs.core.Application
      at com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.doInit(LibertyJaxRsServerFactoryBean.java:303)
      at [internal classes]
  
  [ERROR   ] SRVE0315E: An exception occurred: java.lang.Throwable: javax.servlet.ServletException: At least one provider or resource class should be specified for application class "javax.ws.rs.core.Application
      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4898)
      at [internal classes]
  Caused by: javax.servlet.ServletException: At least one provider or resource class should be specified for application class "javax.ws.rs.core.Application
      at com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.doInit(LibertyJaxRsServerFactoryBean.java:303)
      ... 1 more
  </code></pre>
  
  <p>My web.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app id="WebApp_ID" version="3.1" 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"&gt;
      &lt;display-name&gt;EscapeRoom&lt;/display-name&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;javax.ws.rs.core.Application&lt;/servlet-name&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;javax.ws.rs.core.Application&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/api/*&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>My jax-rs class: </p>
  
  <pre><code>@Path("/test")
  public class TestGet  {
  
      @GET
      public String getTest(){
          return "OK!";
      }
  
  }
  </code></pre>
  
  <p>Pretty simple. </p>
  
  <p>Tried to create the another project at the same workspace and it works fine. </p>
  
  <p>Actually I can just copy all my frontend stuff from one project to another, but I don't like this workaround and would like to find the reason why it doesn't work, I think that I miss something obviously. </p>