Error: "Can't obtain updateLastError method for class com.sun.jna.Native"
Last modified: 02 April 2021
The error occurs during the Upsource installation process, on the Cassandra database startup:

Cassandra throws the following exception while starting:
java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native
Solution
Disable JNA before starting Upsource — run the following command:
<upsource_home>/apps/cassandra/bin/cassandra.bat configure -J-Djna.nosys=true
note
The command listed here is for Windows. If you're working on a Linux or macOS, simply replace
.bat
with.sh
.