本文主要是介绍报错:Exception in thread “main“ java.lang.NoClassDefFoundError: org/apache/curator/RetryPolicy,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Dubbo的异常
需要加入以下两个依赖:
<dependency><groupId>org.apache.curator</groupId><artifactId>curator-framework</artifactId><version>2.8.0</version></dependency><dependency><groupId>org.apache.curator</groupId><artifactId>curator-recipes</artifactId><version>2.8.0</version></dependency>
这篇关于报错:Exception in thread “main“ java.lang.NoClassDefFoundError: org/apache/curator/RetryPolicy的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!