org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:

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

 

xml中的标签格式错误,请查看xml文件中最外层的标签如:<beans:beans></beans:beans>

其子标签需要<beans:....></beans:...>(<beans:bean>或<beans:property>之类的)

你可能感兴趣的:(org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:)