title: Error 404 - Not Found Wildfly
body: <p>I'm getting error to run XHTML pages in browser.
  "Error 404 - not found" when I run in Wildfly 10.0</p>
  
  <p>I've tried everything and still getting error.</p>
  
  <p>This is my web.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" 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;display-name&gt;SistemaWeb&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;load-on-startup&gt;1&lt;/load-on-startup&gt;
    &lt;/servlet&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;
      &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Before I change the standalone-full.xml and setup connection w/ db it worked, after this started getting errors to run in browser.
  I'm using JSF 2.2, CDI 1.1, wildfly-10.0.0.Final</p>
  
  <p>I also tried the file jboss-web.xml but doesn't work too.
  Someone knows how can I fix it ?</p>