multiple annotations found at this line :

-: failed to read schema document '。because 1)could not find the document;2)the document could not be read;3)更根

document of the document is not xsd : schema。

-CVC-ELT . 1: cannot find the declaration of element ' beans ' .

之前使用eclipse构建基于maven的springmvc项目时,报告了上述错误

Spring包括:

通过百度和搜索发现,我在maven上依赖的spring版本和配置不一致。

我在中使用的是

<;4.0.9.RELEASE</;

使用的是 4.0 版本的,但是上面是3.1版本的

把上面截图中的spring配置改为4.0 ,同时做一次clean操作,问题解决

1.《【cannot find】Multiple annotations found at this line:解决办法》援引自互联网,旨在传递更多网络信息知识,仅代表作者本人观点,与本网站无关,侵删请联系页脚下方联系方式。

2.《【cannot find】Multiple annotations found at this line:解决办法》仅供读者参考,本网站未对该内容进行证实,对其原创性、真实性、完整性、及时性不作任何保证。

3.文章转载时请保留本站内容来源地址,https://www.cxvn.com/gl/djyxgl/169948.html