解决Multiple annotations found at this line:- schema_reference.4: Failed to read schema document(通俗易懂)
解决 :Multiple annotations found at this line:
- schema\_reference.4: Failed to read schema document 'http://www.springframework.org/schema/context/spring-context-4.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-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:component-scan'.
这里要修改相对于的架包版本 4.0、4.1之类的
只要修改版本就好了,具体原因我也没有找到,估计是spring的问题,记录下来,希望帮到有需要得人。
还没有评论,来说两句吧...