I am building a web application in Eclipse and get a version issue in web.xml
:
<web-app version="2.4" xmlns="java.sun.com/xml/ns/javaee"
xmlns:xsi="w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="java.sun.com/xml/ns/javaee java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
The error is:
cvc-enumeration-valid: Value '2.4' is not facet-valid with respect to enumeration '[2.5]'.
It must be a value from the enumeration.
The project facet shows version 2.4 for both the Dynamic Web Module and the Servlet API.