Disable XML validation in Eclipse

后端 未结 5 1867
时光取名叫无心
时光取名叫无心 2020-11-30 17:51

My Eclipse validates XML files every time I save a file and it takes a while to validate them. The project is created using gwt-maven-plugin.

The XML files are not u

5条回答
  •  清歌不尽
    2020-11-30 18:56

    You have two options:

    1. Configure Workspace Settings (disable the validation for the current workspace): Go to Window > Preferences > Validation and uncheck the manual and build for: XML Schema Validator, XML Validator

    2. Check enable project specific settings (disable the validation for this project): Right-click on the project, select Properties > Validation and uncheck the manual and build for: XML Schema Validator, XML Validator

    Right-click on the project and select Validate to make the errors disappear.

提交回复
热议问题