用MyEclipse写web项目,web.xml 文件会提示这个警告,找了篇文章解决了,推荐一下。
方法一:常用方法:关闭XML验证
工具栏:windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignore即可。
方法二:(个人推荐)
添加 内容如下
1 |
转自:xwin1989的No grammar constraints (DTD or XML schema)…两种解决方法