在MyEclipse开发WEB项目时,发现spring的配置文件老是有错误,而且错误就在第一行,错误代码是:Referenced file contains errors (http://www.springframework.org/schema/tool/spring-tool.xsd), 将http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd替换为http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd即可。