xml校验失败:
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'.
1.下载dubbo.xsd
2.Window-Preferences-XML-XML Catalog-User Specified Entries-Add
加入dubbo.xsd,选择SchemaLocation,Key填入http://code.alibabatech.com/schema/dubbo/dubbo.xsd, OK 确定
3.applicationContext.xml中修改
xsi:schemaLocation加入http://code.alibabatech.com/schema/dubbo/dubbo.xsd, 保存,重新Validate