這是本文件的舊版!
Can't obtain static method的Error
Problem
有天某個客戶說我們的軟體服務無法啟動,傳回來的debug log中,包含以下錯誤:
java.lang.UnsatisfiedLinkError: Can't obtain static method fromNative(Method, Object) from class com.sun.jna.Native
java:jna:can_t_obtain_static_method的error
這是本文件的舊版!
有天某個客戶說我們的軟體服務無法啟動,傳回來的debug log中,包含以下錯誤:
java.lang.UnsatisfiedLinkError: Can't obtain static method fromNative(Method, Object) from class com.sun.jna.Native