Category: ASP General

Tomcat Parse Error

SEVERE: Parse Error at line xx column xx: The content of element type "web-app" must match"

This is because the web.xml file does not match the schema specified at the top of the web.xml file. Note that in Tomcat 4.1 and older versions, the elements in the web.xml deployment descriptor must be in a specific order, determined by the DTD. If the elements are in the wrong order, then you will get error message.

Lookup the DTD and check if your web.xml is correct.


How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.