周末学习了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日解决