servlet.xml 出现 Referenced file contains errors(http://.......)
问题描述:
打开Eclipse突然发现Web工程的servlet.xml突然报了红叉叉,错误信息如下:
Referenced file contains errors (http://www.springframework.org/schema/tool/spring-tool-3.0.xsd). For more information, right click on the
message in the Problems View and select "Show Details..."
之前这个文件是没问题的,网上找了很多方法,发现了原因,解决办法如下:
1. 首先为了确保 Eclipse 可以从远程拿到 xsd 文件,到 Window -> Preferences -> General -> Network Connections -> Cache 下的 Cache entries 框内检查所需要的文件是否正确,如果不确定,就点击 "Remove All",然后右击当前的 Project 选择 Validator,Eclipse 会重新加载 xsd 文件;
PS:我的报错就是因为spring-tool出现了多个版本,重新Validate之后就没错了
2. 如果错误依旧,那就需要删掉 xsd 文件的版本号,例如:
http://www.springframework.org/schema/context/spring-tool-3.0.xsd
改成: http://www.springframework.org/schema/context/spring-tool.xsd
转载于:https://www.cnblogs.com/liuchangchun/p/3727456.html
servlet.xml 出现 Referenced file contains errors(http://.......)相关推荐
- Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_4.xsd).
项目导入后,一个tld文件提示以下错误: Referenced file contains errors (http://java.sun.com/xml/ns/j2ee/web-jsptaglibr ...
- Referenced file contains errors (http://JAVA.sun.com/xml/ns/j2ee/web-app_2_5.xsd).
Referenced file contains errors (http://Java.sun.com/xml/ns/j2ee/web-app_2_5.xsd). For more informat ...
- mybatis 配置文件报错:Referenced file contains errors(file:/D:/config/ mybatis-3-mapper.dtd).
JAVA就业套餐课:https://edu.csdn.net/combo/detail/1230 在项目搭建过程中,配置Mybatis配置文件时,出现错误:在UserMapper.xml头文件出现 ...
- Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.1.xs
报错:Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.1 ...
- Referenced file contains errors (http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd).
rebel.xml报错 Referenced file contains errors (http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd). ...
- 关于解决Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xs
问题描述:在配置文件时头文件出现红x,且显示错误提示为: Referenced file contains errors (http://www.springframework.org/schema/ ...
- Referenced file contains errors (http://www.springframework.org/schema...错误--转载
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd). ...
- java配置文件报错_java使用spring框架配置文件时遇到的错误——Referenced file contains errors...
报错信息: Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3. ...
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd).
Spring配置异常解决办法(Referenced file contains errors (http://www.springframework.org/schema/beans/spring-b ...
最新文章
- ps怎么把一个颜色替换成另一个颜色_图标设计,用PS制作一款小清新的拟物时钟...
- 大龄程序员刚迈过了 35 岁这个“坎儿”,和大家说点儿心里话
- python自学流程-各个阶段的python学习路线?
- OSError:[Errno 13] Permission denied:'my_library' 问题解决方法
- Lady Bird
- 求标准体重Java题_Java习题
- Arduino学习笔记6
- 牛逼,70行代码开启微信分身术,让你无限开启多个微信
- 解决FlashBuilder 调试有时IE假死问题
- 现代密码学-CA与数字证书详解
- 单片机性能测试基准CoreMark是什么
- 计算机视觉学习6_棋盘格_相机模型与参数标定
- 龙芯与飞腾roadmap
- IE8和IE9对于前端来说有什么区别
- mysql数据库生成pd_使用pd从数据库逆向生成pdm文件
- 用html做祝福语朋友,朋友祝福语大全简短
- 南阳百里奚计算机学校,南阳之子 百里奚
- 以是即便再闲也抽暇伴妻子瞅电瞅、游婆园
- jmeter循环和计数器
- 学习前端技术都需要学哪些
热门文章
- python在中国的发展-Python未来的发展前景到底如何?
- python爬虫原理-python爬虫之认识爬虫和爬虫原理
- python for android-Python-for-Android安装笔记
- python入门要多久-初学者如何快速上手python入门要多久
- python开发需要掌握哪些知识-学习Python应该掌握哪些知识点?
- python表白程序-如何用Python代码向心爱的姑娘花式表白?
- python输入输出-Python input()和print()终端输入输出
- python序列类型-Python内置的序列类型
- python银行系统-python 银行系统
- 9.9学python靠谱吗-宅家亲测:9.9的python体验课,到底值不值?