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

前端 未结 6 989
忘了有多久
忘了有多久 2020-12-29 02:47

The top of my web.xml file looks like this:




        
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-29 02:56

    Add this to your xml file. Please put it under :

    
    

    ??? = Your root element, now if your sub-element name is using a html reserved word you might be catching some errors, all you have to do is change them to a non-reserved word.

    For example:
    If your current sub-element is , change it to ...

提交回复
热议问题