异常信息
Referenced file contains errors (http://www.springframework.org/schema/context/spring-context.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
提示错误的原因:缓存问题。
用的eclipse写的,文件直接从别的项目复制的,别的没有问题,复制过去出错了。
解决办法
- Eclipse==>Preferences==>General==>Network Connections==Cache==>RemoveAll==>Apply and Close
- 右击项目==>Validate
然后就ok了。希望对你有帮助!
本文详细介绍了在使用Spring框架时遇到的XML配置文件错误问题,特别是当从其他项目复制文件到当前项目时出现的缓存错误。文章提供了具体的解决步骤,包括清除Eclipse缓存和重新验证项目,帮助读者快速定位并解决问题。
4万+

被折叠的 条评论
为什么被折叠?



