java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86-64/jnidispatch.dll) not found in resource path ([file:/C:/Source/jna/dist/win32-x86-64.jar, file:/C:/Source/jna/lib/native/win32-x86-64.jar, file:/C:/Source/jna/contrib/platform/build.eclipse/contrib-test-classes/, file:/C:/Source/jna/contrib/platform/bin/, file:/C:/Program%20Files/eclipse/plugins/org.junit_4.12.0.v201504281640/junit.jar, file:/C:/Program%20Files/eclipse/plugins/org.hamcrest.core_1.3.0.v201303031735.jar, file:/C:/Source/jna/build.eclipse/test-classes/, file:/C:/Source/jna/build.eclipse/classes/, file:/C:/Source/jna/lib/test/reflections-0.9.8.jar, file:/C:/Users/Adam/.eclipse/org.eclipse.platform_4.5.2_1709980481_win32_win32_x86_64/configuration/org.eclipse.osgi/383/0/.cp/, file:/C:/Users/Adam/.eclipse/org.eclipse.platform_4.5.2_1709980481_win32_win32_x86_64/configuration/org.eclipse.osgi/382/0/.cp/])

Google Groups | Adam Marcionek | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Running Platform Unit Tests Eclipse

    Google Groups | 9 months ago | Adam Marcionek
    java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86-64/jnidispatch.dll) not found in resource path ([file:/C:/Source/jna/dist/win32-x86-64.jar, file:/C:/Source/jna/lib/native/win32-x86-64.jar, file:/C:/Source/jna/contrib/platform/build.eclipse/contrib-test-classes/, file:/C:/Source/jna/contrib/platform/bin/, file:/C:/Program%20Files/eclipse/plugins/org.junit_4.12.0.v201504281640/junit.jar, file:/C:/Program%20Files/eclipse/plugins/org.hamcrest.core_1.3.0.v201303031735.jar, file:/C:/Source/jna/build.eclipse/test-classes/, file:/C:/Source/jna/build.eclipse/classes/, file:/C:/Source/jna/lib/test/reflections-0.9.8.jar, file:/C:/Users/Adam/.eclipse/org.eclipse.platform_4.5.2_1709980481_win32_win32_x86_64/configuration/org.eclipse.osgi/383/0/.cp/, file:/C:/Users/Adam/.eclipse/org.eclipse.platform_4.5.2_1709980481_win32_win32_x86_64/configuration/org.eclipse.osgi/382/0/.cp/])
  2. 0

    GitHub comment 1#203721855

    GitHub | 11 months ago | bettermanbao
    java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-mipsel/libjnidispatch.so) not found in resource path ([file:/root/fs/finalspeed.jar])

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      Native library (com/sun/jna/win32-x86-64/jnidispatch.dll) not found in resource path ([file:/C:/Source/jna/dist/win32-x86-64.jar, file:/C:/Source/jna/lib/native/win32-x86-64.jar, file:/C:/Source/jna/contrib/platform/build.eclipse/contrib-test-classes/, file:/C:/Source/jna/contrib/platform/bin/, file:/C:/Program%20Files/eclipse/plugins/org.junit_4.12.0.v201504281640/junit.jar, file:/C:/Program%20Files/eclipse/plugins/org.hamcrest.core_1.3.0.v201303031735.jar, file:/C:/Source/jna/build.eclipse/test-classes/, file:/C:/Source/jna/build.eclipse/classes/, file:/C:/Source/jna/lib/test/reflections-0.9.8.jar, file:/C:/Users/Adam/.eclipse/org.eclipse.platform_4.5.2_1709980481_win32_win32_x86_64/configuration/org.eclipse.osgi/383/0/.cp/, file:/C:/Users/Adam/.eclipse/org.eclipse.platform_4.5.2_1709980481_win32_win32_x86_64/configuration/org.eclipse.osgi/382/0/.cp/])

      at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath()
    2. Java Native Access
      PointerByReference.<init>
      1. com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:910)
      2. com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:870)
      3. com.sun.jna.Native.<clinit>(Native.java:145)
      4. com.sun.jna.Pointer.<clinit>(Pointer.java:43)
      5. com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:28)
      6. com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:24)
      6 frames
    3. Java Native Access Platform
      Advapi32Test.testSetSecurityInfoForFileNoSACL
      1. com.sun.jna.platform.win32.Advapi32Test.testSetSecurityInfoForFileNoSACL(Advapi32Test.java:1123)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:176)
      2. junit.framework.TestCase.runBare(TestCase.java:141)
      3. junit.framework.TestResult$1.protect(TestResult.java:122)
      4. junit.framework.TestResult.runProtected(TestResult.java:142)
      5. junit.framework.TestResult.run(TestResult.java:125)
      6. junit.framework.TestCase.run(TestCase.java:129)
      7. junit.framework.TestSuite.runTest(TestSuite.java:252)
      8. junit.framework.TestSuite.run(TestSuite.java:247)
      9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
      9 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames