java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
已回答

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
请先登录再写评论。
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?