配置 applicationContext.xml 是出现 Referenced file contains errors
来源:互联网 发布:中汽研数据资源中心 编辑:程序博客网 时间:2024/05/22 02:29
今天在配置Spring + Mongodb 环境时,出现了一个令人诧异的Error,如图所示:
看了网络上的评论,捣鼓了半天也没成功。后来一想会不会是版本问题,结果还真是。
解决方案如下:
1. 首先为了确保 Eclipse 可以从远程拿到 xsd 文件,到 Window -> Preferences -> General -> Network Connections -> Cache 下的 Cache entries 框内检查所需要的文件是否正确,如果不确定,就点击 "Remove All",然后右击当前的 Project 选择 Validator,Eclipse 会重新加载 xsd 文件;
2. 如果错误依旧,那就需要删掉 xsd 文件的版本号,例如:
http://www.springframework.org/schema/context/spring-context-3.0.xsd
改成: http://www.springframework.org/schema/context/spring-context.xsd
然后就OK了,继续探索之路~
- 配置 applicationContext.xml 是出现 Referenced file contains errors
- 配置 applicationContext.xml 是出现 Referenced file contains errors
- 配置 Spring + Mongodb是出现 Referenced file contains errors
- applicationContext.xml 文件头报错Referenced file contains errors
- 解决xml 中出现的Referenced file contains errors
- Referenced file contains errors
- Referenced file contains errors
- Referenced file contains errors
- Referenced file contains errors
- j2ee项目中xml配置文件出现错误Referenced file contains errors
- Referenced file contains errors 解决方法
- Referenced file contains errors 解决方法
- Referenced file contains errors 解决方法
- Referenced file contains errors 解决方法
- Referenced file contains errors 解答
- Referenced file contains errors 解决方法
- Referenced file contains errors 解决办法
- spring,struts配置文件出现Referenced file contains errors
- (1)立体视觉与三维重建
- 售票系统
- C#多媒体定时器使用方法
- SQL Server 的保留关键字
- 网站分析基础概念之进入页
- 配置 applicationContext.xml 是出现 Referenced file contains errors
- 请问@Override是什么意思
- VS2005 DEBUG 设置断点条件
- 网页矢量素材:33套精美的免费 Banner 素材下载
- Unable to get value of the property '2': object is null or undefined
- 数据模型在电商CRM中的应用&电商存量客户诊断实战帖
- Apache StringUtils 用法
- IOS UIView的淡入淡出效果
- 非常有用的免费UI设计工具和资源