This issue:
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path
Seems to be caused by the fact that linux-arm version of the library does not exist in jna-4.5.1.jar
Fixed it by obtaining libjna-jni_4.5.2-1_armhf.deb, extracting the library and adding it to jna-4.5.1.jar