You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm following the Hello World tutorial found here and I ran into this issue:
WARNING: All illegal access operations will be denied in a future release
06/24 13:22:07 ERROR[main] o.a.c.u.NativeLibraryDarwin - Failed to link the C library against JNA. Native methods will be unavailable.
java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/dh/kynylzv95_vdqywhs1tw1v140000gn/T/jna--931221768/jna17123803835026746100.tmp
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2633) ~[na:na]
at java.base/java.lang.Runtime.load0(Runtime.java:768) ~[na:na]
at java.base/java.lang.System.load(System.java:1837) ~[na:na]
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
at com.sun.jna.Native.<clinit>(Native.java:140) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
at org.apache.cassandra.utils.NativeLibraryDarwin.<clinit>(NativeLibraryDarwin.java:53) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
at org.apache.cassandra.utils.NativeLibrary.<clinit>(NativeLibrary.java:88) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:196) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) ~[cassandra-bundle.jar:1.0.0-M0+46-b373604e]
06/24 13:22:07 ERROR[main] o.a.c.s.CassandraDaemon - The native library could not be initialized properly.
From my research, it suggests the issue is caused by a JNA compatibility with the embedded Cassandra.
I've verified on my machine that I have jna-5.12.0.jar.
Can you assist with this?
JDK:
openjdk version "11.0.19" 2023-04-18 LTS
OpenJDK Runtime Environment Corretto-11.0.19.7.1 (build 11.0.19+7-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.19.7.1 (build 11.0.19+7-LTS, mixed mode)
Scala:
Scala code runner version 2.13.11 -- Copyright 2002-2023, LAMP/EPFL and Lightbend, Inc.
Machine:
Apple M1
2020 MacBook Pro
The text was updated successfully, but these errors were encountered:
Hi, I'm following the Hello World tutorial found here and I ran into this issue:
From my research, it suggests the issue is caused by a JNA compatibility with the embedded Cassandra.
I've verified on my machine that I have
jna-5.12.0.jar
.Can you assist with this?
JDK:
openjdk version "11.0.19" 2023-04-18 LTS
OpenJDK Runtime Environment Corretto-11.0.19.7.1 (build 11.0.19+7-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.19.7.1 (build 11.0.19+7-LTS, mixed mode)
Scala:
Scala code runner version 2.13.11 -- Copyright 2002-2023, LAMP/EPFL and Lightbend, Inc.
Machine:
Apple M1
2020 MacBook Pro
The text was updated successfully, but these errors were encountered: