我最近购买了一台 Epson TM-T20 打印机,我目前正在尝试构建一个使用它的 java 应用程序。我安装了打印机随附的 JavaPOS,并将其相关的 .jar 文件添加到我的构建路径中。尽管如此,当我尝试运行一些与它一起打包的示例示例时,我不断收到此错误。
线程“AWT-EventQueue-0”java.lang.UnsatisfiedLinkError 中的异常:java.library.path 中没有 jp_co_epson_upos_firm_FirmNativeAccess_1_11_0001
如果跟踪堆栈的其余部分有帮助
在 java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at jp.co.epson.upos.core.v1_11_0001.pntr .CommonPrinterService.(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at jp.co.epson.uposcommon.creator.EpsonJposServiceInstanceFactory.createInstance(Unknown Source) at jpos.loader.simple.SimpleServiceConnection.connect(Unknown Source) at jpos.BaseJposControl.open(Unknown Source) at Step1Frame.processWindowEvent(Step1Frame.java:79) at java.awt.Window.processEvent(Unknown Source) at java.awt .Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window。dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3。在 java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) 在 java.security.AccessController.doPrivileged(Native Method) 在 java.security.AccessController.doPrivileged(Native Method) 在 java.security.ProtectionDomain$1 运行(Unknown Source) .doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue。dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(未知源)在 java.awt.EventDispatchThread.pumpEvents(未知源)在 java.awt.EventDispatchThread.run(未知源)
其他信息
- 操作系统:W7 x64
- IDE:Eclipse Juno 服务版本 1 x64
- 安装最新的 JDK
- JavaPOS 有一个名为 setupPOS 的应用程序。我还在此设置中添加了我的打印机
任何帮助将不胜感激。谢谢