title: cvc-complex-type.2.4.a invalid content was found starting with element factory in faces-config.xml
body: <p>I have this error in a eclipse project, imported from a <strong><code>Netbeans</code></strong> project, set as a <strong><code>maven</code></strong> and project facet to <strong><code>Dynamic Web Project</code></strong> ( CDI1.1, Java 1.8, JS 1.0, JSF 2.2, JAX-RS 2.0, JBoss Maven Integration 1.0 and JPA 2.1)</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
  &lt;faces-config version="2.2"
                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-facesconfig_2_2.xsd"&gt;
  
      &lt;application&gt;
          &lt;locale-config&gt;
              &lt;default-locale&gt;en&lt;/default-locale&gt;
              &lt;supported-locale&gt;fr&lt;/supported-locale&gt;
          &lt;/locale-config&gt;
          &lt;resource-bundle&gt;
              &lt;base-name&gt;Messages&lt;/base-name&gt;
              &lt;var&gt;messages&lt;/var&gt;
          &lt;/resource-bundle&gt;
  
  
           &lt;factory&gt;
              &lt;exception-handler-factory&gt;org.omnifaces.exceptionhandler.FullAjaxExceptionHandlerFactory&lt;/exception-handler-factory&gt; 
          &lt;/factory&gt;
  
      &lt;/application&gt;
  &lt;/faces-config&gt;
  </code></pre>