Olá, estou com um pequeno erro no meu projeto. Estou fazendo um projeto Maven com archetype de web, só que infelizmente não consigo carregar minha página xhtml quando rodo o Tomcat v9.0.
Erro:
Minha <strong>web.xml</strong>:
<–?xml version=“1.0” encoding=“UTF-8”?>
<–web-app xmlns:xsi=“<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>” xmlns=“<a href="http://java.sun.com/xml/ns/javaee">http://java.sun.com/xml/ns/javaee</a>” xsi:schemaLocation=“<a href="http://java.sun.com/xml/ns/javaee">http://java.sun.com/xml/ns/javaee</a> <a href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd</a>” version=“2.5”>
<–display-name>Archetype Created Web Application
<–servlet>
<–servlet-name>Faces Servlet
<–servlet-class>javax.faces.webapp.FacesServlet
<–load-on-startup>1
<–/servlet>
<–servlet-name>Faces Servlet
<–url-pattern>*.xhtml
<–/servlet-mapping>
<–/web-app>
(está com “–” para poder mostrar as linhas).
Minha index.xhtml:
<–!DOCTYPE html>
<–html>
<–head>
<–meta charset=“ISO-8859-1”>
<–title>Teste
<–/head>
<–body>
<–/body>
<–/html>
