---
title: "myeclipse validation 验证spring mvc:resource报错解决方案"
author: "ThinkGoogle"
date: "2015-09-16T11:13:25Z"
tags: []
categories: ["互联网"]
slug: "myeclipse-validation-spring-mvc-resource"
draft: false
lastmod: "2015-09-16T11:20:27Z"
id: 2243891
url: "https://thinkgoogle.iteye.com/blog/2243891"
---

1. 打开 windows -&gt; 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 工程，错误提示就被哈皮的去掉了