org.apache.zookeeper.server.quorum.flexible.QuorumMaj.<init>(Ljava/util/Map;)V 解决办法
问题描述springMVC 升级dubbo2.7.7报以下错误org.springframework.beans.factory.BeanCreationException: Error creating bean with name '****': Injection of @DubboReference dependencies is failed; nested exception is j
·
问题描述
springMVC 升级dubbo2.7.7
报以下错误
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '****': Injection of @DubboReference dependencies is failed; nested exception is java.lang.NoSuchMethodError: org.apache.zookeeper.server.quorum.flexible.QuorumMaj.<init>(Ljava/util/Map;)V
解决办法:
是由引起的org.apache.zookeeper 版本引起的,根据自身的环境调整版本
我之前的是3.3.6
现在调为
<dependency> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> <version>3.6.1</version> </dependency>
问题解决
更多推荐
已为社区贡献3条内容
所有评论(0)