Intellij Maven Project set up tried and tested on Linux and Windows works fine, but trying to get it installed and running on one particular Windows machine 7 machine is throwing the below error:
Error:scalac: Error: com.sun.jna.Native.getNativeVersion()Ljava/lang/String; java.lang.UnsatisfiedLinkError: com.sun.jna.Native.getNativeVersion()Ljava/lang/String;
compilation using intellij works fine - running the intellij compiled class file with command line works fine. It is only when you try to run it from intellij , it throws the following exception
Error:scalac: Error: com.sun.jna.Native.getNativeVersion()Ljava/lang/String; java.lang.UnsatisfiedLinkError: com.sun.jna.Native.getNativeVersion()Ljava/lang/String;
Tried download jna and jna platform jars directly from maven and adding , but to no avail.
Intellij compiles file ok, however run fails. Java JDK - 1.8, Scala version 2.11.12