针对<mvc:annotation-driven />xml出现错误时,做如下修改可以将xml前面的红叉去掉

来源:互联网 发布:shtml nginx 编辑:程序博客网 时间:2024/05/16 08:49
xsi:schemaLocation="http://www.springframework.org/schema/beans                                                 http://www.springframework.org/schema/beans/spring-beans.xsd                                                 http://www.springframework.org/schema/context                                                http://www.springframework.org/schema/context/spring-context.xsd<span style="white-space:pre"></span>                        http://www.springframework.org/schema/mvc                                                http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd</span>                                                http://www.springframework.org/schema/tx                                                http://www.springframework.org/schema/tx/spring-tx-3.0.xsd                                                                                 http://www.springframework.org/schema/aop                                                 http://www.springframework.org/schema/aop/spring-aop.xsd">
原来出错的情况是/spring-mvc.xsd

0 0