Description Resource Path Location Type
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:component-scan'. applicationContext.xml /bos-web/src/main/resources line 60 XML Problem
资源路径位置类型
cvc-complex-type.2.4。c:匹配通配符是严格的,但是对于元素“context:component-scan”没有任何声明。applicationContext。第60行xml问题
解决方法:添加命名空间。
*前提:有spring的schema文件。