spring,struts配置文件出现Referenced file contains errors

来源:互联网 发布:tensorflow 语义 编辑:程序博客网 时间:2024/05/20 23:58

applicationContext.xml

struts.xml出现referenced file contains errors.

for more information, right click on the  message in the Problems View and select "Show Details..."


解决办法:

Window -> Preferences -> General -> Network Connections -> Cache 

在Cache entries下,把里面的缓存文件remove掉,点击“OK”后

右键点选你的项目,选择Validate。


如果还是不行,就把xsd后的版本号删掉,例如:  

http://www.springframework.org/schema/context/spring-context-3.0.xsd 改成: http://www.springframework.org/schema/context/spring-context.xsd






转自:http://blog.csdn.net/wugewuge/article/details/8019938

0 0
原创粉丝点击