Hi Markus,
thanks for this post...
The big question is: why does Eclipse show these errors - because the web.xml is totally correct. This is also mentioned in the link you refer to: "The overall interesting question is why Eclipse stopped working for the former web.xml even though it seems that it was totally correct. Only the namespaces and version number changed, but that worked for years in the past."
Kind regards! Björn
PS: Just for all, the relevant part of the link mentioned by Markus is to replace:
Code:
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
<a href="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" target="_blank" rel="nofollow">http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd</a>"
id="WebApp_ID" version="3.0">
with
Code:
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
<a href="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" target="_blank" rel="nofollow">http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd</a>"
id="WebApp_ID" version="3.1">