错误记录:KeeperException$UnimplementedException: KeeperErrorCode = Unimp

使用springboot+zookeeper+dubbo启动出现KeeperException$UnimplementedException: KeeperErrorCode = Unimplemented异常


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to register dubbo://10.168.110.128:20880/com.alipay.modules.alipay.service.IAliPayService?anyhost=true&application=springboot_pay&default.loadbalance=roundrobin&default.threadpool=fixed&default.threads=10&dubbo=2.6.2&generic=false&interface=com.alipay.modules.alipay.service.IAliPayService&methods=downloadBillUrl,aliCloseorder,aliPay,appPay,rsaCheckV1,aliPayPc,aliPayMobile,aliRefund,rsaCheckV2&pid=6412&side=provider&timestamp=1548034632565 to registry 127.0.0.1:2181, cause: Failed to register dubbo://10.168.110.128:20880/com.alipay.modules.alipay.service.IAliPayService?anyhost=true&application=springboot_pay&default.loadbalance=roundrobin&default.threadpool=fixed&default.threads=10&dubbo=2.6.2&generic=false&interface=com.alipay.modules.alipay.service.IAliPayService&methods=downloadBillUrl,aliCloseorder,aliPay,appPay,rsaCheckV1,aliPayPc,aliPayMobile,aliRefund,rsaCheckV2&pid=6412&side=provider&timestamp=1548034632565 to zookeeper zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=springboot_pay&dubbo=2.6.2&interface=com.alibaba.dubbo.registry.RegistryService&pid=6412&timestamp=1548034632556, cause: KeeperErrorCode = Unimplemented for /dubbo/com.alipay.modules.alipay.service.IAliPayService/providers/dubbo%3A%2F%2F10.168.110.128%3A20880%2Fcom.alipay.modules.alipay.service.IAliPayService%3Fanyhost%3Dtrue%26application%3Dspringboot_pay%26default.loadbalance%3Droundrobin%26default.threadpool%3Dfixed%26default.threads%3D10%26dubbo%3D2.6.2%26generic%3Dfalse%26interface%3Dcom.alipay.modules.alipay.service.IAliPayService%26methods%3DdownloadBillUrl%2CaliCloseorder%2CaliPay%2CappPay%2CrsaCheckV1%2CaliPayPc%2CaliPayMobile%2CaliRefund%2CrsaCheckV2%26pid%3D6412%26side%3Dprovider%26timestamp%3D1548034632565
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
	at com.alipay.Application.main(Application.java:49)
Caused by: java.lang.IllegalStateException: Failed to register dubbo://10.168.110.128:20880/com.alipay.modules.alipay.service.IAliPayService?anyhost=true&application=springboot_pay&default.loadbalance=roundrobin&default.threadpool=fixed&default.threads=10&dubbo=2.6.2&generic=false&interface=com.alipay.modules.alipay.service.IAliPayService&methods=downloadBillUrl,aliCloseorder,aliPay,appPay,rsaCheckV1,aliPayPc,aliPayMobile,aliRefund,rsaCheckV2&pid=6412&side=provider&timestamp=1548034632565 to registry 127.0.0.1:2181, cause: Failed to register dubbo://10.168.110.128:20880/com.alipay.modules.alipay.service.IAliPayService?anyhost=true&application=springboot_pay&default.loadbalance=roundrobin&default.threadpool=fixed&default.threads=10&dubbo=2.6.2&generic=false&interface=com.alipay.modules.alipay.service.IAliPayService&methods=downloadBillUrl,aliCloseorder,aliPay,appPay,rsaCheckV1,aliPayPc,aliPayMobile,aliRefund,rsaCheckV2&pid=6412&side=provider&timestamp=1548034632565 to zookeeper zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=springboot_pay&dubbo=2.6.2&interface=com.alibaba.dubbo.registry.RegistryService&pid=6412&timestamp=1548034632556, cause: KeeperErrorCode = Unimplemented for /dubbo/com.alipay.modules.alipay.service.IAliPayService/providers/dubbo%3A%2F%2F10.168.110.128%3A20880%2Fcom.alipay.modules.alipay.service.IAliPayService%3Fanyhost%3Dtrue%26application%3Dspringboot_pay%26default.loadbalance%3Droundrobin%26default.threadpool%3Dfixed%26default.threads%3D10%26dubbo%3D2.6.2%26generic%3Dfalse%26interface%3Dcom.alipay.modules.alipay.service.IAliPayService%26methods%3DdownloadBillUrl%2CaliCloseorder%2CaliPay%2CappPay%2CrsaCheckV1%2CaliPayPc%2CaliPayMobile%2CaliRefund%2CrsaCheckV2%26pid%3D6412%26side%3Dprovider%26timestamp%3D1548034632565
	at com.alibaba.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:144)
	at com.alibaba.dubbo.registry.integration.RegistryProtocol.register(RegistryProtocol.java:125)
	at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:145)
	at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:55)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:98)
	at com.alibaba.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:54)
	at com.alibaba.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
	at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:506)
	at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:358)
	at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:317)
	at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:216)
	at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.initProviderBean(DubboProviderAutoConfiguration.java:84)
	at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.init(DubboProviderAutoConfiguration.java:45)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
	... 18 common frames omitted
Caused by: com.alibaba.dubbo.rpc.RpcException: Failed to register dubbo://10.168.110.128:20880/com.alipay.modules.alipay.service.IAliPayService?anyhost=true&application=springboot_pay&default.loadbalance=roundrobin&default.threadpool=fixed&default.threads=10&dubbo=2.6.2&generic=false&interface=com.alipay.modules.alipay.service.IAliPayService&methods=downloadBillUrl,aliCloseorder,aliPay,appPay,rsaCheckV1,aliPayPc,aliPayMobile,aliRefund,rsaCheckV2&pid=6412&side=provider&timestamp=1548034632565 to zookeeper zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=springboot_pay&dubbo=2.6.2&interface=com.alibaba.dubbo.registry.RegistryService&pid=6412&timestamp=1548034632556, cause: KeeperErrorCode = Unimplemented for /dubbo/com.alipay.modules.alipay.service.IAliPayService/providers/dubbo%3A%2F%2F10.168.110.128%3A20880%2Fcom.alipay.modules.alipay.service.IAliPayService%3Fanyhost%3Dtrue%26application%3Dspringboot_pay%26default.loadbalance%3Droundrobin%26default.threadpool%3Dfixed%26default.threads%3D10%26dubbo%3D2.6.2%26generic%3Dfalse%26interface%3Dcom.alipay.modules.alipay.service.IAliPayService%26methods%3DdownloadBillUrl%2CaliCloseorder%2CaliPay%2CappPay%2CrsaCheckV1%2CaliPayPc%2CaliPayMobile%2CaliRefund%2CrsaCheckV2%26pid%3D6412%26side%3Dprovider%26timestamp%3D1548034632565
	at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doRegister(ZookeeperRegistry.java:116)
	at com.alibaba.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:131)
	... 37 common frames omitted
Caused by: java.lang.IllegalStateException: KeeperErrorCode = Unimplemented for /dubbo/com.alipay.modules.alipay.service.IAliPayService/providers/dubbo%3A%2F%2F10.168.110.128%3A20880%2Fcom.alipay.modules.alipay.service.IAliPayService%3Fanyhost%3Dtrue%26application%3Dspringboot_pay%26default.loadbalance%3Droundrobin%26default.threadpool%3Dfixed%26default.threads%3D10%26dubbo%3D2.6.2%26generic%3Dfalse%26interface%3Dcom.alipay.modules.alipay.service.IAliPayService%26methods%3DdownloadBillUrl%2CaliCloseorder%2CaliPay%2CappPay%2CrsaCheckV1%2CaliPayPc%2CaliPayMobile%2CaliRefund%2CrsaCheckV2%26pid%3D6412%26side%3Dprovider%26timestamp%3D1548034632565
	at com.alibaba.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.createEphemeral(CuratorZookeeperClient.java:89)
	at com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.create(AbstractZookeeperClient.java:63)
	at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doRegister(ZookeeperRegistry.java:114)
	... 38 common frames omitted

转载:https://blog.csdn.net/qq_22067469/article/details/84342260

按照上面的文章解决之后,又抛出以下异常:Caused by: java.lang.NoSuchMethodError: org.apache.zookeeper.server.quorum.flexible.QuorumMaj.<init>(Ljava/util/Map;)V

转载:https://gbjian001.iteye.com/blog/2337401

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值