您的位置:首页 > Web前端

No grammar constraints (DTD or XML Schema) referenced in the document. java项目xml文件报错或者出现警告

2016-07-11 10:00 591 查看
有的时候我们在做java 项目的时候,当打开eclipse时,xml文件会出现警告。

这里一般情况下我们不会去管他,因为No grammar constraints (DTD or XML Schema) referenced in the document.这个警告不影响项目的运行。

 如果大家不想看到这种警告,可以在eclipse中进行设置。

方法:常用方法   关闭XML验证  

工具栏:windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignore即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: