cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for elemen

来源:互联网 发布:免费2级域名注册永久 编辑:程序博客网 时间:2024/05/17 01:00

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:

nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:annotation-config'.

 xsi:schemaLocation中没有http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd