zookeeper报错 - 版本冲突

<dependecy>
  <groupId>Org.springframework.cloud</groupId>
   <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>     
    <exclusions>
    <!--排除自带的zookeeper版本-->
      <exclusion>
        <groupId>Org.apache.zookeeper</groupId>
       <artifactId>zookeeper</artifactId>   
     <exclusion>
    </exclusions>
</dependecy>

<dependency>
     <groupId>Org.apache.zookeeper</groupId>
   <artifactId>zookeeper</artifactId>    
    <version>3.4.9</version>
</dependency>

 

posted @ 2020-10-12 23:18  二先森  阅读(211)  评论(0编辑  收藏  举报