Failed to read schema document 'http://www.springframework.org/schema/mvc/spring-mvc.xsd'


Multiple annotations found at this line:
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:default-servlet-handler'.
- schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/mvc/spring-mvc.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>.

 

当时是查阅了  https://blog.csdn.net/bluishglc/article/details/7596118,虽然并未使用作者提到的方法(写的很好,推荐),我是将报错的删了,然后重新添加上就莫名其妙好用了,不过还是谢谢。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM