title: SRVE0190E: File not found- IBM Liberty profile
body: <p>I am having issues when i trying to deploy EAR into Liberty profile. After deployment, i am able to hit the index page(welcome page). When i am trying to hit one of the rest end point i am getting <strong>[WARNING ] SRVE0190E: File not found: rest/xx/xx</strong>. 
    Here is how my server.xml looks like:
   </p>
  
  <pre><code>&lt;webContainer deferServletLoad="false"/&gt;
  
  &lt;!-- Enable features --&gt;
  &lt;featureManager&gt;
      &lt;feature&gt;jsp-2.2&lt;/feature&gt;
      &lt;feature&gt;jpa-2.0&lt;/feature&gt;
      &lt;feature&gt;servlet-3.0&lt;/feature&gt;
      &lt;feature&gt;json-1.0&lt;/feature&gt;
      &lt;feature&gt;jndi-1.0&lt;/feature&gt;
      &lt;feature&gt;jdbc-4.0&lt;/feature&gt;
      &lt;feature&gt;jaxrs-1.1&lt;/feature&gt;
  &lt;/featureManager&gt;
  
  &lt;!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" --&gt;
  &lt;httpEndpoint httpPort="9081" httpsPort="9444" id="defaultHttpEndpoint"/&gt;
  
  &lt;library id="objectFactoryLib"&gt;
      &lt;fileset dir="${server.config.dir}/lib/"/&gt;
  &lt;/library&gt;
  
  &lt;jndiObjectFactory className="xxx" id="objectFactory" libraryRef="objectFactoryLib" objectClassName="java.util.Properties"/&gt;
  
  
  &lt;library id="oracle-lib"&gt;
      &lt;fileset dir="${server.config.dir}/oracle/" includes="ojdbc6-11.2.0.3.jar"/&gt;
  &lt;/library&gt;
  
  &lt;applicationMonitor updateTrigger="mbean"/&gt;
  
  &lt;enterpriseApplication id="xxx" location="xxx.ear" name="xxx"&gt;
                      &lt;classloader commonLibraryRef="oracle-lib" delegation="parentLast"/&gt;
  &lt;/enterpriseApplication&gt;
  </code></pre>
  
  <p></p>
  
  <p>and the Web.xml looks like:</p>
  
  <pre><code>&lt;context-param&gt;
      &lt;param-name&gt;spring.profiles.default&lt;/param-name&gt;
      &lt;param-value&gt;default&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;context-param&gt;
      &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
      &lt;param-value&gt;classpath:META-INF/server/wink-core-context.xml
                   classpath:xxx.xml
      &lt;/param-value&gt;
  &lt;/context-param&gt;
  &lt;servlet&gt;
      &lt;servlet-name&gt;winkRestServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.apache.wink.server.internal.servlet.RestServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;winkRestServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/rest/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;listener&gt;
      &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  
  &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  </code></pre>
  
  <p></p>