我来说下这个出错的原因吧 eclise中xsd的验证问题Description Resource Path Location Type cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for spring的applicationContext.xml中的xsd的spring版本要高一点,应该是高于3.0.4就可以 ,同时加载的spring lib文件版本也要高于3.0…
spring 配置文件报错报错信息:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation-driven'. spring-web.xml /soaweb/src/main/resources line 14 XML Problem解决办法:schemal中增加tx支持<?xml version=…
今天从svn导入项目的时候,一个xml文件里面报错:‘cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation-driven'.’ 这时候,只要在xml文件xsi:schemaLocation这个下面加上:http://www.springframework.org/schema/tx http://www.sprin…
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mongo:mongo-client'. mongodb整合springMVC配置的时候,可能会遇到这样的问题, 这里我目前想到的办法是,把版本号去掉,当然这个的前提是,把该导入的命名空间导入!…
配置使用dubbo时,xml报错“cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element” 解决方案: 在线下载dubbo.xsd文件,放于某个文件夹. 在eclipse做如下配置: Window—>preference—>XML—>XMLcatalog—>add,添加后右键校验XML文件即可…