My web-app declaration in my web.xml is:
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
And eclipse complains about all 4 attributes, here is one Eclipse complaint:
Attribute "version" must be declared for element type "web-app"
Why is Eclipse complaining about these attributes? Am I doing something wrong here?
Try to put in this way:
Eclipse validator is very strict with the order.