How to fix Eclipse validation error “No grammar constraints detected for the document”?

后端 未结 18 751
礼貌的吻别
礼貌的吻别 2020-12-24 05:01

Eclipse 3.5.2 is throwing an XML schema warning message:

No grammar constraints (DTD or XML schema) detected for the document.

The applica

18条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 05:22

    What I found worked for me was to remove the schemaLocation attribute completely then right click in the outline view and goto edit namespaces, then adding the schema location hint into the resulting dialog.

提交回复
热议问题