I made a jar file using Intellij IDEA from my project. when I extract the jar
file , it contains some jar files that I used them in my project and a diretory
tree from my package (with compiled classes).
but when I run the jar file I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/swingx/a
uth/LoginService
Caused by: java.lang.ClassNotFoundException:
org.jdesktop.swingx.auth.LoginService
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Can anybody help with this error?