spring项目报错:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element。
原因:配置文件没有声明。
解决:我的报错文件是springmvc-servlet.xml,在文件上面的标签声明里找到 xsi:schemaLocation=”XXX“,在末尾加入2个URL http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd。保存就OK了。
1529

被折叠的 条评论
为什么被折叠?



