Spring配置文件:Multiple annotations found at this line

Error Message

Multiple annotations found at this line:
    - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for 
     element 'context:component-scan'.
    - schema_reference.4: Failed to read schema document 'http://www.springframework.org/
     schema/context/spring-context.xsd', because 1) could not find the document; 2) the document could 
     not be read; 3) the root element of the document is not <xsd:schema>.

解决方案
将代码添加到配置文件里面

xmlns:dwr="http://directwebremoting.org/schema/spring-dwr/spring-dwr-3.0.xsd"
Paste_Image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,983评论 19 139
  • Spring Boot 参考指南 介绍 转载自:https://www.gitbook.com/book/qbgb...
    毛宇鹏阅读 47,126评论 6 342
  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 176,037评论 25 709
  • error code(错误代码)=0是操作成功完成。error code(错误代码)=1是功能错误。error c...
    Heikki_阅读 8,739评论 1 9
  • 1. 姓名:陈鲁豫 籍贯:河南周口民族:回族(爸爸是回族,户口本上登记的也是) 出生地:上海(生于上海长于北京)生...
    张文雁阅读 4,919评论 0 0

友情链接更多精彩内容