Tag: jna noclassdeffounderror

JNA示例程序java.lang.NoClassDefFoundError

我可以编译这个JNA示例代码(来自https://github.com/twall/jna/#getting_started的第2步): package com.sun.jna.examples; import com.sun.jna.Library; import com.sun.jna.Native; import com.sun.jna.Platform; /** Simple example of JNA interface mapping and usage. */ public class HelloWorld { // This is the standard, stable way of mapping, which supports extensive // customization and mapping of Java to native types. public interface CLibrary extends Library { CLibrary INSTANCE = (CLibrary) Native.loadLibrary((Platform.isWindows() […]