myeclipse validation 验证spring mvc:resource报错解决方案

1 . 打开 windows -> preference , 弹出对话框
2 . 在该dialog中左上角的  "type filter text"  中,输入  "xml c" 关键字,会跳到 "XML Catalog" 目录。
3 . 在 XML Catalog Entries中找到  "Plugin Specified Entries"  
4 . 拖动滚动条到下方,找到  "http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"  项
5 . 点击该项,在下面的  "Details"  会有相关详情
6 . 访问 "http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd" ,下载该文件,替换 Location 对应的文件(保险起见,建议备份该文件)
7 . 重新build 工程,错误提示就被哈皮的去掉了

猜你喜欢

转载自thinkgoogle.iteye.com/blog/2243891