您的位置:首页 > Web前端

解决Multiple annotations found at this line: - schema_reference.4: Failed to read schema document

2020-04-27 07:18 941 查看

解决AapplicationContext配置文件报错,Multiple annotations found at this line: - schema_reference.4: Failed to read schema document ‘http://www.springframework.org/schema/context/spring-context-4.1.xsd’, because 1) could not find the document; 2) the document could not be read; 3) the root e

错误信息如下

解决办法

这里是因为spring架构包的问题,我们只需要加入一行代码即可
xmlns:dwr=“http://directwebremoting.org/schema/spring-dwr/spring-dwr-2.4.xsd”

这里是多少我们插入的这行代码最后就是多少.xsd

最终结果


这样我们就解决了这个问题。

  • 点赞 1
  • 收藏
  • 分享
  • 文章举报
强者才配秃头 发布了12 篇原创文章 · 获赞 4 · 访问量 366 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐