Categories
java

web.xml problem

Out of the blue, or at least I don’t remember changing anything, I’m getting a number of new errors in a J2EE project I’m working on in Eclipse.

1. web.xml
cvc-elt.1: Cannot find the declaration of element ‘web-app’.

2. web.xml
SchemaLocation: schemaLocation value = ‘http://java.sun.com/xml/ns/j2ee’ must have even number of URI’s.

3. c.tld
Error – schema_reference.4: Failed to read schema document ‘file:///C:/dev/workspace/Webreportal%20v2.0/webapp/WEB-INF/tld/web-jsptaglibrary_2_0.xsd’, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .

And a few more of the same type. Anybody seen this? And ideas?

Leave a Reply

Your email address will not be published. Required fields are marked *