出现上述错误,我发现的原因是:
springboot版本和Curator版本不对应。springboot是1.5,Curator版本为4.0。
我是这么解决的:
Curator版本改为2.7.0。
Caused by: java.lang.NoClassDefFoundError: org/apache/curator/shaded/com/google/common/collect/Maps
最新推荐文章于 2024-06-21 14:28:40 发布
出现上述错误,我发现的原因是:
springboot版本和Curator版本不对应。springboot是1.5,Curator版本为4.0。
我是这么解决的:
Curator版本改为2.7.0。