码迷,mamicode.com
首页 > 编程语言 > 详细

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 20:06:54      阅读:520      评论:0      收藏:0      [点我收藏+]

标签:failed   line   tor   XML   sch   element   文件   The   bec   

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'

标签:failed   line   tor   XML   sch   element   文件   The   bec   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!