We have tried your Fingerprint Matching Code for 1:1 but its showing some error as follows:
"Exception in thread "main" java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/JoranException
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:189)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:112)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:105)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:235)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:208)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:221)
at test.TemplateBuilder.<clinit>(TemplateBuilder.java:27)
at test.FingerprintTemplate.create(FingerprintTemplate.java:105)
at test.Matcher.main(Matcher.java:22)
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.joran.spi.JoranException
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 9 more"</clinit>
This is most likely an issue with your project configuration or runtime environment rather than with SourceAFIS. Try to instantiate some logger before calling any SourceAFIS methods, for example by invoking LoggerFactory.getLogger(Matcher.class) on the first line of main(). If you get exception again, it means the issue is not SourceAFIS-specific.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Will I get Master's degree for it? :-) Seriously, I would definitely expect someone with Master's degree to be able to use the extensive online documentation on how to work with Maven dependencies.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The root cause is that you are managing dependencies manually. You should tell Maven/Gradle to fetch the dependencies for you. If you are building SourceAFIS from sources, you can find the list of direct dependencies for SourceAFIS in pom.xml that accompanies the sources. Add them to your maven/gradle configuration. If you are still stuck, there is extensive documentation as well as relevant forums covering dependency management in Java.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's not an error. That's just SLF4J informing you that you didn't configure any logging implementation (SLF4J is just an interface). If it bothers you, pick one of the SLF4J implementations and add it as a dependency to your project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have tried your Fingerprint Matching Code for 1:1 but its showing some error as follows:
"Exception in thread "main" java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/JoranException
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:189)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:112)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:105)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:235)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:208)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:221)
at test.TemplateBuilder.<clinit>(TemplateBuilder.java:27)
at test.FingerprintTemplate.create(FingerprintTemplate.java:105)
at test.Matcher.main(Matcher.java:22)
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.joran.spi.JoranException
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 9 more"</clinit>
This is most likely an issue with your project configuration or runtime environment rather than with SourceAFIS. Try to instantiate some logger before calling any SourceAFIS methods, for example by invoking LoggerFactory.getLogger(Matcher.class) on the first line of main(). If you get exception again, it means the issue is not SourceAFIS-specific.
Can you Please send me the jar file you used in your source code for "org.slf4j.*"
You can find all maven artifacts on Maven Central:
https://search.maven.org/
I am really help less at this moment, its my Masters Major Project. Can you please help me through Team Viewer?
Will I get Master's degree for it? :-) Seriously, I would definitely expect someone with Master's degree to be able to use the extensive online documentation on how to work with Maven dependencies.
The error I am facing is no regular error which cannot be handled by exception handling classes.
The root cause is that you are managing dependencies manually. You should tell Maven/Gradle to fetch the dependencies for you. If you are building SourceAFIS from sources, you can find the list of direct dependencies for SourceAFIS in pom.xml that accompanies the sources. Add them to your maven/gradle configuration. If you are still stuck, there is extensive documentation as well as relevant forums covering dependency management in Java.
Now I am getting this error.
That's not an error. That's just SLF4J informing you that you didn't configure any logging implementation (SLF4J is just an interface). If it bothers you, pick one of the SLF4J implementations and add it as a dependency to your project.
I made it working . Thanks You for Helping and 'Motivating'
Can you please tell me which algorithm you have used in SourceAFIS fingerprint matching??
Hi, please create a new thread with this question to keep the forum usable. I cannot move messages between threads.