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

后端 未结 18 673
礼貌的吻别
礼貌的吻别 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:29

    Here's the working solution for this problem:

    Step 1: Right click on project and go to properties

    Step 2: Go to 'libraries' and remove the project's ' JRE system library'

    Step 3: Click on 'Add library'-->'JRE System Library' -->select 'Workspace default JRE'

    Step 3: Go to 'Order and Export' and mark the newly added ' JRE system library'

    Step 4: Refresh and Clean the project

    Eureka! It's working :)

提交回复
热议问题