Neurotec_Biometric_9_0_SDK_Trial Java samples

General information about Neurotechnology and its software

Neurotec_Biometric_9_0_SDK_Trial Java samples

Postby carloelijah82 » Jul 27, 2016 09:40

Can someone please help me with this. I have downloaded and installed the Neurotec_Biometric_9_0_SDK_Trial. I have managed to compile the Java biomteric samples but on execution on the commandline executed as

mvn exec:java -pl enrollment-sample -Dexec.mainClass=com.neurotec.samples.EnrollmentSample

for one of the samples I"m getting the following error.
Code: Select all
[WARNING]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.ExceptionInInitializerError
        at com.neurotec.licensing.NLicensing.<clinit>(NLicensing.java:45)
        at com.neurotec.licensing.NLicense.<clinit>(NLicense.java:52)
        at com.neurotec.samples.util.LicenseManager.obtain(LicenseManager.java:129)
        at com.neurotec.samples.util.LicenseManager.obtain(LicenseManager.java:112)
        at com.neurotec.samples.EnrollmentSample.main(EnrollmentSample.java:48)
        ... 6 more
Caused by: java.lang.ExceptionInInitializerError
        at com.neurotec.lang.NCore.<clinit>(NCore.java:140)
        at com.neurotec.lang.NTypes.<clinit>(NTypes.java:171)
        at com.neurotec.licensing.NLicensing.<clinit>(NLicensing.java:42)
        ... 10 more
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library "NCore": Native library (win32-x86-64/NCore.dll) not found in resource path ([file:/C:/Biometric%
Software/Neurotec_Biometric_9_0_SDK_Trial/Samples/Biometrics/Java/enrollment-sample/target/classes/, file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-biom
rics-client/9.0.0.0/neurotec-biometrics-client-9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-biometrics-gui/9.0.0.0/neurotec-biometrics-gu
9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-devices/9.0.0.0/neurotec-devices-9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/org/simple
amework/simple-xml/2.6.2/simple-xml-2.6.2.jar, file:/C:/Users/Carlo/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar, file:/C:/Users/Carlo/.m2/repository/stax
tax/1.2.0/stax-1.2.0.jar, file:/C:/Users/Carlo/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar, file:/C:/Users/Carlo/.m2/repository/net/java/dev/jna/jna/4.2.2-Ne
otec/jna-4.2.2-Neurotec.jar, file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-core/9.0.0.0/neurotec-core-9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/
m/neurotec/neurotec-licensing/9.0.0.0/neurotec-licensing-9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-gui/9.0.0.0/neurotec-gui-9.0.0.0.ja
 file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-media/9.0.0.0/neurotec-media-9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-medi
processing/9.0.0.0/neurotec-media-processing-9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/com/neurotec/neurotec-biometrics/9.0.0.0/neurotec-biometrics-9.0.0.0.
r, file:/C:/Users/Carlo/.m2/repository/com/neurotec/samples/samples-utils/9.0.0.0/samples-utils-9.0.0.0.jar, file:/C:/Users/Carlo/.m2/repository/commons-io/commons
o/2.4/commons-io-2.4.jar])
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:277)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403)
        at com.neurotec.lang.NCore.<clinit>(NCore.java:132)
        ... 12 more
[WARNING] thread Thread[AWT-Windows,6,com.neurotec.samples.EnrollmentSample] was interrupted but is still alive after waiting at least 15000msecs
[WARNING] thread Thread[AWT-Windows,6,com.neurotec.samples.EnrollmentSample] will linger despite being asked to die via interruption
[WARNING] NOTE: 1 thread(s) did not finish despite being asked to  via interruption. This is not a problem with exec:java, it is a problem with the running code. A
hough not serious, it should be remedied.
[WARNING] Couldn"t destroy threadgroup org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=com.neurotec.samples.EnrollmentSample,maxpri=10]
java.lang.IllegalThreadStateException
        at java.lang.ThreadGroup.destroy(ThreadGroup.java:775)
        at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:328)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55.451 s
[INFO] Finished at: 2016-07-27T10:42:22+02:00
[INFO] Final Memory: 18M/95M
[INFO] ------------------------------------------------------------------------
carloelijah82
 
Posts: 1
Joined: Jul 22, 2016 10:06

Return to Public

Who is online

Users browsing this forum: No registered users and 3 guests