异常 2 problemscvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be foun

来源:互联网 发布:武汉网络中控机 编辑:程序博客网 时间:2024/05/29 18:01
1 报错
Description    Resource    Path    Location    Type

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'kulm:annotation'.    dubbo-demo-provider.xml    /dubbo-demo-provider/src/main/resources/META-INF/spring    line 33    XML Problem


2 maven使用的问题 让maven 编译resources 的配置文件

在运行的时候 会说 resources目录下的某些东西 找不到 这是因为 maven 只会 编译 main/java目录下的 java文件

这样相当于 将其加到maven 的classpach下


1 0
原创粉丝点击