针对xml出现错误时,做如下修改可以将xml前面的红叉去掉

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
			                        http://www.springframework.org/schema/mvc
                                                http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
                                                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

你可能感兴趣的:(针对xml出现错误时,做如下修改可以将xml前面的红叉去掉)