<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd"
>
这是我的模式声明。但mvc:注解驱动它显示编译时错误。 匹配的通配符是严格的,但是对于元素没有声明。我无法正确地找到问题。所以请帮助找到这个问题。<mvc:annotation-driven />显示编译时错误
错误: cvc-complex-type.2.4.c:匹配通配符是严格的,但是对于元素'mvc:annotation-driven'没有声明。 你能告诉我什么是问题吗?