Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro no web.xml

Quando eu abri o web.xml do curso anterior, ele apresentou um erro que não existia: Multiple annotations found at this line:

- There is '1' error in 'javaee_7.xsd'.
- schema_reference.4: Failed to read schema document 'platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd', because 1) could not find the 
 document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

WEB.XML gerenciador bem-vindo.html

OiMundoServlet br.com.alura.gerenciador.servlet.OiMundoServlet OiMundoServlet /ola
1 resposta
solução!

Oie Alisson, tudo bem contigo?

Acredito que o problema possa estar na sua web.xml, nela vai ter uma tag chamada "web-app", substitui todo o código da tag pelo seguinte:

<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_4_0.xsd" id="WebApp_ID" version="4.0">

Caso não funcione, se puder subir seu projeto no github e mandar aqui, que ai eu consigo resolver esse problema melhor.

Fico a disposição para tirar qualquer outra dúvida :)

Bons estudos!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software