Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/ spring-beans-3.1.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>. - cvc-elt.1: Cannot find the declaration of element 'beans'.
今天在寫一些簡單的SpringMVC的代碼的時候,spring的bean configuration XML突然報錯,按照提示,沒有beans標簽,可是我的beans標簽存在,
仔細分析原因之后,發現原因可能只是工程錯亂了,
解決辦法:停下當前的server,清理(clean)一下工程,重啟就沒事了;
此處分享一下另外一個遇到同樣問題的大兄弟的博客。不過他的問題和我不一樣,只是問題的表現形式一樣
鏈接:https://blog.csdn.net/u014403008/article/details/52784881
