当我尝试编译由 tess4j 开发人员给出的示例代码时出现此错误
还有很多其他方法,但是我没有成功,我收到了这个错误
Exception in thread "main" java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
at com.sun.jna.Structure.fieldOrder(Structure.java:831)
at com.sun.jna.Structure.getFields(Structure.java:857)
at com.sun.jna.Structure.deriveLayout(Structure.java:983)
at com.sun.jna.Structure.calculateSize(Structure.java:908)
at com.sun.jna.Structure.calculateSize(Structure.java:896)
at com.sun.jna.Structure.allocateMemory(Structure.java:357)
at com.sun.jna.Structure.<init>(Structure.java:191)
at com.sun.jna.Structure.<init>(Structure.java:180)
at com.sun.jna.Structure.<init>(Structure.java:167)
at com.sun.jna.Structure.<init>(Structure.java:159)
at net.sf.ghost4j.GhostscriptLibrary$display_callback.<init>(GhostscriptLibrary.java:72)
at net.sf.ghost4j.Ghostscript.buildNativeDisplayCallback(Ghostscript.java:315)
at net.sf.ghost4j.Ghostscript.initialize(Ghostscript.java:281)
at net.sf.ghost4j.example.DisplayCallbackExample.main(DisplayCallbackExample.java:48)
请问我真的需要你的帮助