spring框架排错

1、格式错误。

http://www.springframework.org/schema/mvc
       http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd

这就是配置文件粘贴至记事本后的格式,可能是在编辑的时候不小心打了几个汉语空格,就导致程序不能识别该配置指令,而从别人粘贴过来的就可以。

原文地址:https://www.cnblogs.com/Robin008/p/8853615.html