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

 

 

0
3 comments

An incorrect JNA library architecture was picked. Make sure you use JRE to run the IDE that matches your OS architecture.

1

I don't know how to do it, this is my dependency,How to check?


implementation("net.java.dev.jna:jna:5.14.0")
 

0

It is not clear where this stacktrace originates from exactly. Do you start some process/web service from your plugin? 

0

Please sign in to leave a comment.