Using JNA in a custom plugin

I'm trying to build a plugin that uses JNA and I noticed that ES already has JNA as a dependency so I excluded it from my build configuration and the installation works. However during runtime I keep getting an error saying: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")

Which leads me to think that maybe ES needs some higher permissions to allow me to use JNA. Can anyone help me?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.