当前位置:   article > 正文

错误记录:KeeperException$UnimplementedException: KeeperErrorCode = Unimp_keepererror unimplemet

keepererror unimplemet

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


  1. 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
  2. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
  3. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
  4. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
  5. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
  6. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
  7. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  8. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  9. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  10. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  11. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
  12. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
  13. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
  14. at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  15. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
  16. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
  17. at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
  18. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
  19. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
  20. at com.alipay.Application.main(Application.java:49)
  21. 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
  22. at com.alibaba.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:144)
  23. at com.alibaba.dubbo.registry.integration.RegistryProtocol.register(RegistryProtocol.java:125)
  24. at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:145)
  25. at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:55)
  26. at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:98)
  27. at com.alibaba.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:54)
  28. at com.alibaba.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
  29. at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:506)
  30. at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:358)
  31. at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:317)
  32. at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:216)
  33. at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.initProviderBean(DubboProviderAutoConfiguration.java:84)
  34. at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.init(DubboProviderAutoConfiguration.java:45)
  35. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  36. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  37. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  38. at java.lang.reflect.Method.invoke(Method.java:498)
  39. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
  40. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
  41. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
  42. ... 18 common frames omitted
  43. 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
  44. at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doRegister(ZookeeperRegistry.java:116)
  45. at com.alibaba.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:131)
  46. ... 37 common frames omitted
  47. 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
  48. at com.alibaba.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.createEphemeral(CuratorZookeeperClient.java:89)
  49. at com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.create(AbstractZookeeperClient.java:63)
  50. at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doRegister(ZookeeperRegistry.java:114)
  51. ... 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

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号