java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
Answered
I tested using runIde and it worked fine, but after packaging the plugin with buildPlugin, I ran it and got this error。
This is my plugin structure
Please sign in to leave a comment.
An incorrect JNA library architecture was picked. Make sure you use JRE to run the IDE that matches your OS architecture.
I don't know how to do it, this is my dependency,How to check?
implementation("net.java.dev.jna:jna:5.14.0")
It is not clear where this stacktrace originates from exactly. Do you start some process/web service from your plugin?