title: Error: /login.xhtml Not Found in ExternalContext as a Resource
body: <p>I'm using JBoss 7.1 with JSF 2.1/Prime Faces and keep running into the error listed in the title. I've tried many of the suggestions made here and all end up with the same error. </p>
  
  <p>File structure is:</p>
  
  <pre><code>WEB-INF
     faces
        login.xhtml
  </code></pre>
  
  <p>I have the following in web.xml:</p>
  
  <pre><code>&lt;display-name&gt;clientAccountManager&lt;/display-name&gt;
  &lt;servlet&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/faces/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  &lt;context-param&gt;
      &lt;param-name&gt;javax.faces.PROJECT_STAGE&lt;/param-name&gt;
      &lt;param-value&gt;Development&lt;/param-value&gt;
  &lt;/context-param&gt;
  &lt;context-param&gt;
      &lt;param-name&gt;javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL&lt;/param-name&gt;
      &lt;param-value&gt;true&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>I am accessing the file currently using the following URL:</p>
  
  <pre><code>http://localhost:8080/clientAccountManager/faces/login.xhtml
  </code></pre>
  
  <p>I have also changed the URL pattern to *.xhtml and used:</p>
  
  <pre><code>http://localhost:8080/clientAccountManager/login.xhtml
  </code></pre>
  
  <p>with the same result. </p>
  
  <p>What am I missing?</p>