cassandra-f找不到依赖库java.lang.unsatifiedLinkError

vdzxcuhz  于 2021-06-09  发布在  Cassandra
关注(0)|答案(1)|浏览(428)
Exception (java.lang.UnsatisfiedLinkError) encountered during startup: 
C:\Users\chand\AppData\Local\Temp\jna-94623570\jna4591461042706372094.dll: Can't find dependent libraries
java.lang.UnsatisfiedLinkError: C:\Users\chand\AppData\Local\Temp\jna-94623570\jna4591461042706372094.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
    at java.lang.Runtime.load0(Runtime.java:810)
    at java.lang.System.load(System.java:1086)
    at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851)
    at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826)
    at com.sun.jna.Native.<clinit>(Native.java:140)
    at org.apache.cassandra.utils.WindowsTimer.<clinit>(WindowsTimer.java:35)
    at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:606)
    at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:789)

ERROR 14:10:52 Exception encountered during startup
java.lang.UnsatisfiedLinkError: C:\Users\chand\AppData\Local\Temp\jna-94623570\jna4591461042706372094.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.8.0_261]
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934) ~[na:1.8.0_261]
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817) ~[na:1.8.0_261]
    at java.lang.Runtime.load0(Runtime.java:810) ~[na:1.8.0_261]
    at java.lang.System.load(System.java:1086) ~[na:1.8.0_261]
    at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851) ~[jna-4.2.2.jar:4.2.2 (b0)]
    at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826) ~[jna-4.2.2.jar:4.2.2 (b0)]
    at com.sun.jna.Native.<clinit>(Native.java:140) ~[jna-4.2.2.jar:4.2.2 (b0)]
    at org.apache.cassandra.utils.WindowsTimer.<clinit>(WindowsTimer.java:35) ~[apache-cassandra-3.0.22.jar:3.0.22]
    at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:606) [apache- 
cassandra-3.0.22.jar:3.0.22]
    at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:789) [apache-cassandra-3.0.22.jar:3.0.22]

即使我尝试了不同版本的Cassandra,但我还是得到了相同的错误。任何修复都将不胜感激
更新:

OS Windows 10
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)
Python 2.7.18
apache-cassandra-3.0.22

以上是系统和应用程序版本

aydmsdu9

aydmsdu91#

我有一个类似的问题,这是由于采用OpenJDK和我切换到红帽jdk和Cassandra开始工作。

相关问题