带指纹识别器的导航器中的小程序出错

发布于 2024-10-12 04:55:26 字数 1720 浏览 2 评论 0原文

首先非常感谢您抽出时间,我在开发一个通过指纹控制用户的小程序时遇到问题,使用 DigitalPersona SDK 在 eclipse 中开发,问题是当我从网页浏览器运行它时,

Exception in thread "AWT-EventQueue-2" java.lang.RuntimeException: com.digitalpersona.onetouch.jni.JniException
 at com.digitalpersona.onetouch.capture._impl.DPFPCaptureFactoryImpl$CaptureImpl.startCapture(DPFPCaptureFactoryImpl.java:187)
 at CDesVerifinger.formComponentShown(CDesVerifinger.java:76)
 at CDesVerifinger.access$1(CDesVerifinger.java:73)
 at CDesVerifinger$1.componentShown(CDesVerifinger.java:64)
 at java.awt.Component.processComponentEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(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(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)

    Caused by: com.digitalpersona.onetouch.jni.JniException
 at com.digitalpersona.onetouch.jni.AcquisitionLibrary.getInstance(AcquisitionLibrary.java:50)
 at com.digitalpersona.onetouch.jni.Acquisition.<init>(Acquisition.java:45)
 at com.digitalpersona.onetouch.capture._impl.DPFPCaptureFactoryImpl$CaptureImpl.startCapture(DPFPCaptureFactoryImpl.java:104)
 ... 16 more

非常感谢非常感谢您的帮助,

美好的一天

First thank you very much for your time, I have a problem with the development of an applet to control users via fingerprint, as developed in eclipse using the DigitalPersona SDK, the problem is when I run it from a web page browser,

Exception in thread "AWT-EventQueue-2" java.lang.RuntimeException: com.digitalpersona.onetouch.jni.JniException
 at com.digitalpersona.onetouch.capture._impl.DPFPCaptureFactoryImpl$CaptureImpl.startCapture(DPFPCaptureFactoryImpl.java:187)
 at CDesVerifinger.formComponentShown(CDesVerifinger.java:76)
 at CDesVerifinger.access$1(CDesVerifinger.java:73)
 at CDesVerifinger$1.componentShown(CDesVerifinger.java:64)
 at java.awt.Component.processComponentEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(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(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)

    Caused by: com.digitalpersona.onetouch.jni.JniException
 at com.digitalpersona.onetouch.jni.AcquisitionLibrary.getInstance(AcquisitionLibrary.java:50)
 at com.digitalpersona.onetouch.jni.Acquisition.<init>(Acquisition.java:45)
 at com.digitalpersona.onetouch.capture._impl.DPFPCaptureFactoryImpl$CaptureImpl.startCapture(DPFPCaptureFactoryImpl.java:104)
 ... 16 more

Thank you very much for any help

good day

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

胡大本事 2024-10-19 04:55:26

您需要将dptojni.jar添加到项目的库中,它位于c:/programs files/digital persona/bin/java中。或者您可以获取类 jniException 并将其添加到您的项目中。

You need to add the dptojni.jar to the library of your project, it is in c:/programs files/digital persona/bin/java. Or you can get the class jniException and add it to your project.

楠木可依 2024-10-19 04:55:26

遇到同样的问题,这里有人告诉这是

capturer.setPriority(DPFPCapturePriority.CAPTURE_PRIORITY_LOW);

调用createCapture之后必须要解决的问题。我现在就尝试这个答案。

Having the same problem, here is someone telling that is necessary put

capturer.setPriority(DPFPCapturePriority.CAPTURE_PRIORITY_LOW);

after calling createCapture to solve it. I will try this answer now.

不交电费瞎发啥光 2024-10-19 04:55:26

您必须对 jar 文件进行签名。这就是我所做的,现在它正在发挥作用。

You have to sign the jar files. That's what I did, and now it's working.

猫腻 2024-10-19 04:55:26

确保在调用 setCapturePriority 方法之前已实例化 DPFPCapture 对象,并确保在使用完捕获对象后停止捕获

Make sure you have instatiated the DPFPCapture object before calling the setCapturePriority method and also make sure you stop capture after you have finished using the capture object

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文