spring pom文件报错:提示no declaration can be found for element 'dubbo:service'.
2017-11-19 18:15
417 查看
pom文件报错:The matching wildcard is strict, but no declaration can be found for element 'dubbo:service'.
解决办法:
找到dubbo的jar包,解压后在META-INF文件夹下找到dubbo.xsd
在eclipse中点击windows-->preferrence-->xml-->xmlcatalog
选择add-->catalog entry -->file system
找到dubbo.xsd文件。
key:http://code.alibabatech.com/schema/dubbo/dubbo.xsd
点击OK,点击OK。
在pom文件右击选择validate。
ok了
解决办法:
找到dubbo的jar包,解压后在META-INF文件夹下找到dubbo.xsd
在eclipse中点击windows-->preferrence-->xml-->xmlcatalog
选择add-->catalog entry -->file system
找到dubbo.xsd文件。
key:http://code.alibabatech.com/schema/dubbo/dubbo.xsd
点击OK,点击OK。
在pom文件右击选择validate。
ok了
相关文章推荐
- pom文件报错:提示no declaration can be found for element 'dubbo:service'.
- 关于dubbo服务的xml配置文件报错的问题--The matching wildcard is strict, but no declaration can be found for element
- dubbo xml文件报错:提示no declaration can be found for element 'dubbo:registry'.
- 关于dubbo创建服务和引用服务时,会报错:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 问题的解决
- , but no declaration can be found for element 'dubbo:application'.
- dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element
- but no declaration can be found for element 'aop:aspectj-autoproxy'.
- 关于"no declaration can be found for element 'mvc:default-servlet-handler"的问题分析
- XML文件报“The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation”
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- no declaration can be found for element 'context:component-scan'
- 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
- spring配置的时候报no declaration can be found for element 'tx:advice'是为什么呢?
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
- spring配置的时候报no declaration can be found for element 'tx:advice'是为什么呢?
- MyBatis-Spring(二)中的no declaration can be found for element 'context:annotation-con
- no declaration can be found for element mvc resources
- but no declaration can be found for element 'authentication-manager'的一种解决办法