The link below explained what’s going on here. In short, Eclipse is trying to validate XML documents, and in my case, documents that Maven created to do its testing (I think.) To get rid of the warnings, turn off the check for “no grammar specified.”
The steps to disable this check are as follows:
- Open Eclipse’s Preferences
- Expand the entry “XML”
- Expand the sub-entry “XML Files”
- Now click on the “Validation” link
- Choose “Ignore” from the choice “Indicate when no grammar is specified”
- Apply this, then okay.
I learned this by following a link to StackOverflow to here.