6 Replies Latest reply on Jul 29, 2017 9:41 PM by akshay gawande

    java.lang.UnsatisfiedLinkError: Unable to load library 'TableauServer': The specified module could not be found

    akshay gawande

      import com.tableausoftware.TableauException;

      import com.tableausoftware.server.ServerAPI;

      import com.tableausoftware.server.ServerConnection;

       

       

      public class TableauConnect {

       

       

      public static void main(String[] args) {

      try {

      ServerAPI.initialize();

      new ServerConnection().connect("*******", "*******", "*******", "");

      } catch (TableauException e) {

      e.printStackTrace();

      }

      }

       

      }

       

      Above is my java program for connecting to tableau server.

       

      And i'm getting following error:

      Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'TableauServer': The specified module could not be found.

       

       

      at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:194)

      at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:283)

      at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:244)

      at com.sun.jna.Native.register(Native.java:1065)

      at com.tableausoftware.server.ServerAPI.<clinit>(Unknown Source)

      at TableauConnect.main(TableauConnect.java:12)

       

      Can anyone help resolving the error?