title: Everything right, but still appearing -> Type Dynamic Web Module 4.0 requires Java 1.8 or newer
body: <p>Seems that my project is correctly configured, but Eclipse still showing the error below: </p>
  
  <p><strong>Dynamic Web Module 4.0 requires Java 1.8 or newer.</strong></p>
  
  <p><a href="https://i.stack.imgur.com/MyrXR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MyrXR.png" alt="Dynamic Web Module 4.0 requires Java 1.8 or newer"></a></p>
  
  <p>I have tried everything already, Clean, Build, Update Maven Project, Maven clean, Maven Compile...</p>
  
  <p><strong>Web.xml</strong></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://java.sun.com/xml/ns/javaee"
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd"
          version="4.0"&gt;
          &lt;welcome-file-list&gt;
              &lt;welcome-file&gt;login.xhtml&lt;/welcome-file&gt;
          &lt;/welcome-file-list&gt;
          &lt;error-page&gt;
              &lt;error-code&gt;404&lt;/error-code&gt;
              &lt;location&gt;/404.xhtml&lt;/location&gt;
          &lt;/error-page&gt;
          &lt;filter&gt;
              &lt;filter-name&gt;LoginFilter&lt;/filter-name&gt;
              &lt;filter-class&gt;com.mccsis.utils.LoginFilter&lt;/filter-class&gt;
          &lt;/filter&gt;
          &lt;filter-mapping&gt;
              &lt;filter-name&gt;LoginFilter&lt;/filter-name&gt;
              &lt;url-pattern&gt;/logado/*&lt;/url-pattern&gt;
          &lt;/filter-mapping&gt;
          &lt;filter&gt;
              &lt;filter-name&gt;AdmFilter&lt;/filter-name&gt;
              &lt;filter-class&gt;com.mccsis.utils.AdmFilter&lt;/filter-class&gt;
          &lt;/filter&gt;
          &lt;filter-mapping&gt;
              &lt;filter-name&gt;AdmFilter&lt;/filter-name&gt;
              &lt;url-pattern&gt;/logado/adm/*&lt;/url-pattern&gt;
          &lt;/filter-mapping&gt;
          &lt;context-param&gt;
              &lt;param-name&gt;javax.faces.STATE_SAVING_METHOD&lt;/param-name&gt;
              &lt;param-value&gt;server&lt;/param-value&gt;
          &lt;/context-param&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;primefaces.THEME&lt;/param-name&gt;
              &lt;param-value&gt;california-#{preferences.theme}&lt;/param-value&gt;
          &lt;/context-param&gt;
          &lt;context-param&gt;
              &lt;param-name&gt;primefaces.FONT_AWESOME&lt;/param-name&gt;
              &lt;param-value&gt;true&lt;/param-value&gt;
          &lt;/context-param&gt;
          &lt;context-param&gt;
              &lt;param-name&gt;javax.faces.FACELETS_LIBRARIES&lt;/param-name&gt;
              &lt;param-value&gt;/WEB-INF/primefaces-california.taglib.xml&lt;/param-value&gt;
          &lt;/context-param&gt;
          &lt;listener&gt;
              &lt;listener-class&gt;com.sun.faces.config.ConfigureListener&lt;/listener-class&gt;
          &lt;/listener&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;ttf&lt;/extension&gt;
              &lt;mime-type&gt;application/font-sfnt&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;woff&lt;/extension&gt;
              &lt;mime-type&gt;application/font-woff&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;woff2&lt;/extension&gt;
              &lt;mime-type&gt;application/font-woff2&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;eot&lt;/extension&gt;
              &lt;mime-type&gt;application/vnd.ms-fontobject&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;eot?#iefix&lt;/extension&gt;
              &lt;mime-type&gt;application/vnd.ms-fontobject&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;svg&lt;/extension&gt;
              &lt;mime-type&gt;image/svg+xml&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;svg#exosemibold&lt;/extension&gt;
              &lt;mime-type&gt;image/svg+xml&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;svg#exobolditalic&lt;/extension&gt;
              &lt;mime-type&gt;image/svg+xml&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;svg#exomedium&lt;/extension&gt;
              &lt;mime-type&gt;image/svg+xml&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;svg#exoregular&lt;/extension&gt;
              &lt;mime-type&gt;image/svg+xml&lt;/mime-type&gt;
          &lt;/mime-mapping&gt;
          &lt;mime-mapping&gt;
              &lt;extension&gt;svg#fontawesomeregular&lt;/extension&gt;
              &lt;mime-type&gt;image/svg+xml&lt;/mime-type&gt;
          &lt;/mime-mapping&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;/servlet-mapping&gt;
          &lt;filter&gt;
              &lt;filter-name&gt;Character Encoding Filter&lt;/filter-name&gt;
              &lt;filter-class&gt;com.mccsis.visao.configuracaoTemplate.CharacterEncodingFilter&lt;/filter-class&gt;
          &lt;/filter&gt;
          &lt;filter-mapping&gt;
              &lt;filter-name&gt;Character Encoding Filter&lt;/filter-name&gt;
              &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
          &lt;/filter-mapping&gt;
           &lt;listener&gt;
               &lt;listener-class&gt;org.quartz.ee.servlet.QuartzInitializerListener&lt;/listener-class&gt;
           &lt;/listener&gt;
  
      &lt;/web-app&gt;
  </code></pre>
  
  <p><strong>POM.xml</strong></p>
  
  <pre><code>    &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
          &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
          &lt;groupId&gt;br.com.mccsis&lt;/groupId&gt;
          &lt;artifactId&gt;mc_c_sis&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
          &lt;packaging&gt;war&lt;/packaging&gt;
  
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
                  &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
                  &lt;version&gt;2.2.18&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
                  &lt;artifactId&gt;jsf-impl&lt;/artifactId&gt;
                  &lt;version&gt;2.2.18&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;org.primefaces&lt;/groupId&gt;
                  &lt;artifactId&gt;primefaces&lt;/artifactId&gt;
                  &lt;version&gt;6.2&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
                  &lt;artifactId&gt;poi&lt;/artifactId&gt;
                  &lt;version&gt;3.17&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
                  &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
                  &lt;version&gt;6.7.0&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
                  &lt;artifactId&gt;commons-dbcp2&lt;/artifactId&gt;
                  &lt;version&gt;2.1.1&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
                  &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
                  &lt;version&gt;4.0.1&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
                  &lt;version&gt;5.3.5.Final&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;mysql&lt;/groupId&gt;
                  &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
                  &lt;version&gt;5.1.46&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
                  &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
                  &lt;version&gt;2.0.1&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;joda-time&lt;/groupId&gt;
                  &lt;artifactId&gt;joda-time&lt;/artifactId&gt;
                  &lt;version&gt;2.1&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;org.quartz-scheduler&lt;/groupId&gt;
                  &lt;artifactId&gt;quartz&lt;/artifactId&gt;
                  &lt;version&gt;2.2.1&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;org.quartz-scheduler&lt;/groupId&gt;
                  &lt;artifactId&gt;quartz-jobs&lt;/artifactId&gt;
                  &lt;version&gt;2.2.1&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.activation&lt;/groupId&gt;
                  &lt;artifactId&gt;activation&lt;/artifactId&gt;
                  &lt;version&gt;1.1.1&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.mail&lt;/groupId&gt;
                  &lt;artifactId&gt;mail&lt;/artifactId&gt;
                  &lt;version&gt;1.4.7&lt;/version&gt;
              &lt;/dependency&gt;
  
          &lt;/dependencies&gt;
  
      &lt;/project&gt;
  </code></pre>
  
  <p><strong>org.eclipse.wst.common.project.facet.core.xml</strong></p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;faceted-project&gt;
        &lt;fixed facet="java"/&gt;
        &lt;fixed facet="jst.web"/&gt;
        &lt;fixed facet="wst.jsdt.web"/&gt;
        &lt;installed facet="wst.jsdt.web" version="1.0"/&gt;
        &lt;installed facet="jst.jsf" version="2.0"/&gt;
        &lt;installed facet="java" version="1.8"/&gt;
        &lt;installed facet="jst.web" version="4.0"/&gt;
      &lt;/faceted-project&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Fbj3b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fbj3b.png" alt="Project Facets"></a></p>
  
  <p><a href="https://i.stack.imgur.com/HmN4e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HmN4e.png" alt="Java Build Path"></a></p>
  
  <p>Please, If I miss something, tell me.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p><strong>Java Compiler</strong></p>
  
  <p><a href="https://i.stack.imgur.com/ZzrHl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZzrHl.png" alt="Java Compiler"></a></p>