返回到文章

采纳

编辑于

kafka streams官网wordcount示例异常:librocksdbjni8319530886836763268.dll: Can't find dependent

kafka

你好,我在实现kafka streams官网demo时,遇到了这个异常java.lang.UnsatisfiedLinkError:

C:\Users\wyhui\AppData\Local\Temp\librocksdbjni8319530886836763268.dll: Can't find dependent

我的kafka是在Linux上的,在网上看了一些同样的问题,没有找到解决方案,可以给一些建议吗,谢谢啦。

<dependency>
          <groupId>org.apache.kafka</groupId>
          <artifactId>kafka_2.12</artifactId>
          <version>2.1.0</version>
      </dependency>
      <!-- kafka -->
     <dependency>
         <groupId>org.apache.kafka</groupId>
         <artifactId>kafka-clients</artifactId>
         <version>2.1.0</version>
     </dependency>
     <!-- kafka streams -->
     <dependency>
         <groupId>org.apache.kafka</groupId>
         <artifactId>kafka-streams</artifactId>
         <version>2.1.0</version>
     </dependency>
     <dependency>
         <groupId>org.rocksdb</groupId>
         <artifactId>rocksdbjni</artifactId>
         <version>5.14.2</version>
     </dependency>