javaexecutable-jarnoclassdeffounderrorawt-eventqueue

Cannot excute jar correctly - Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError


I executed my file.jar in my terminal and it show for me this message

java -jar demoBioMini.jar

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/suprema/BioMiniSDK

And this is the full error for my problem

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/suprema/BioMiniSDK
    at demoBioMini.<init>(demoBioMini.java:2199)
    at demoBioMini$27.run(demoBioMini.java:2186)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at

I am using all libraries correctly


Solution

  • check all library or classes present in demoBioMini.jar file extract and check again