出现上述错误,我发现的原因是:
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
猜你喜欢
转载自blog.csdn.net/m0_37827628/article/details/85342436
今日推荐
周排行