首页 > 编程语言 > 详细

cvc-elt.1: Cannot find the declaration of element 'beans'Failed to read schema document 'http://www.springframework.org/schema/beans/spring- beans-3.0.xsd'

时间:2018-07-08 19:35:47      阅读:377      评论:0      收藏:0      [点我收藏+]
Multiple annotations found at this line:
    - cvc-elt.1: Cannot find the declaration of element ‘beans‘.
    - schema_reference.4: Failed to read schema document ‘http://www.springframework.org/schema/beans/spring-
     beans-3.0.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>.

 


 

打开包的

技术分享图片--

技术分享图片

 

 

吧xsd文件改为:

classpath:/org/springframework/beans/factory/xml/spring-beans-3.0.xsd

其他的也类似

 

cvc-elt.1: Cannot find the declaration of element 'beans'Failed to read schema document 'http://www.springframework.org/schema/beans/spring- beans-3.0.xsd'

原文:https://www.cnblogs.com/tk55/p/9280842.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!