day12 1.15 上班第十二天

作者在周末学习并遇到ApacheDubbo中的类路径问题,涉及到ZookeeperServiceDiscovery和CuratorFramework的兼容性问题。文章提到es自动创建索引后,焦点转向pom包中的依赖管理和版本冲突,最后解决方案在1月17日给出。
摘要由CSDN通过智能技术生成

        周末学习了mangdb的配置,还学习了spring data es的使用,后面发现只要项目启动,es就自动创建了索引,很舒服,接下来就是解决pom包问题了,估计问题出现的原因是依赖重复了,或者是版本不对,可以看一下错误的图片

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.apache.dubbo.registry.zookeeper.ZookeeperServiceDiscovery.registerServiceWatcher(ZookeeperServiceDiscovery.java:195)

The following method did not exist:

    org.apache.curator.framework.api.CreateBuilder.creatingParentsIfNeeded()Lorg/apache/curator/framework/api/ProtectACLCreateModeStatPathAndBytesable;

The calling method's class, org.apache.dubbo.registry.zookeeper.ZookeeperServiceDiscovery, was loaded from the following location:

    jar:file:/D:/develop/apache-maven-3.6.1/mvn_repo/org/apache/dubbo/dubbo/3.0.5/dubbo-3.0.5.jar!/org/apache/dubbo/registry/zookeeper/ZookeeperServiceDiscovery.class

The called method's class, org.apache.curator.framework.api.CreateBuilder, is available from the following locations:

    jar:file:/D:/develop/apache-maven-3.6.1/mvn_repo/org/apache/curator/curator-framework/2.13.0/curator-framework-2.13.0.jar!/org/apache/curator/framework/api/CreateBuilder.class

The called method's class hierarchy was loaded from the following locations:

    org.apache.curator.framework.api.CreateBuilder: file:/D:/develop/apache-maven-3.6.1/mvn_repo/org/apache/curator/curator-framework/2.13.0/curator-framework-2.13.0.jar


Action:

Correct the classpath of your application so that it contains compatible versions of the classes org.apache.dubbo.registry.zookeeper.ZookeeperServiceDiscovery and org.apache.curator.framework.api.CreateBuilder

问题的解决方法在我的1月17日解决

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值