dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element
2018-04-03 15:40
513 查看
症状:dubbo-provider.xml配置文件报错如下:
原因:http://code.alibabatech.com/schema/dubbohttp://code.alibabatech.com/schema/dubbo/dubbo.xsd没有找到对应的源文件!
解决:Window -> Preferences -> XML -> XML Catalog -> 选中如图key,edit,将这个key关联到本地的文件 -> OK
注:如果XML Catalog Entries中没有如上key,则选择 Add -> Catalog Entry -> 将这个key关联到本地的文件 -> OK
验证:关联成功后,在项目目录中找到该xml文件,选中,右键,选择Validate,稍等(约5秒),报错消失!
原因:http://code.alibabatech.com/schema/dubbohttp://code.alibabatech.com/schema/dubbo/dubbo.xsd没有找到对应的源文件!
解决:Window -> Preferences -> XML -> XML Catalog -> 选中如图key,edit,将这个key关联到本地的文件 -> OK
注:如果XML Catalog Entries中没有如上key,则选择 Add -> Catalog Entry -> 将这个key关联到本地的文件 -> OK
验证:关联成功后,在项目目录中找到该xml文件,选中,右键,选择Validate,稍等(约5秒),报错消失!
相关文章推荐
- 关于dubbo服务的xml配置文件报错的问题--The matching wildcard is strict, but no declaration can be found for element
- 关于dubbo创建服务和引用服务时,会报错:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 问题的解决
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- xml报错“cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element”
- cvc-complex-type.2.4.c:The matching wildcard is strict,but no declaration can be found for element '
- The matching wildcard is strict, but no declaration can be found for element 'aop:aspectj’
- 解决dubbo的vc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- vc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- XML文件报“The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation”