Bogus Eclipse warning for web.xml: “No grammar constraints (DTD or XML schema) detected for the document.”

I hate that warning too. Specially because it appears in XML files that you haven’t written but appear in your project for whatever reason (if you use MAVEN it’s hell).

With Eclipse 3.5+ you can easily remove this validation rule. Go to Preferences–>XML–>XML FILES –> Validation and Select “ignore”.

You may also have to do a Project -> Clean for the validation warnings to go away.

alt text

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)