当前位置: 移动技术网 > IT编程>软件设计>架构 > cvc-elt.1: Cannot find the declaration of element 'beans'Failed to read schema document 'http://www.springframework.org/schema/beans/sprin

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

2018年07月09日  | 移动技术网IT编程  | 我要评论
打开包的 -- 吧xsd文件改为: 其他的也类似 ...
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

其他的也类似

 

如您对本文有疑问或者有任何想说的,请点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网