java.lang.NoClassDefFoundError -
I'm getting the following error: Do I have some jar file missing?
Exceptions in thread "main" java.lang.NoClassDefFoundError: org / apache / commons / logfactory at org.slf4j.impl.JCLLoggerFactory.getLogger (JCLLoggerFactory.java:69) org Org.smslib.helper.Logger at slf4j.LoggerFactory.getLogger (LoggerFactory.java, 4343) & Lt; Init & gt; (Logger.java35) at org.smslib.Service. & Lt; Init & gt; (Service.java:93) SendMessage.doIt (SendMessage.java.28) on SendMessage by reason (SendMessage.java:82) Reason: java.lang.ClassNotFoundException: org.apache.commons.logging.log.com Java.net.URLClassLoader $ 1.run (URLClassLoader.java20000) at java.security.AccessController What to do at sun.misc.Launcher $ ExtClassLoader.findClass (Launcher.Javaakalam 29) on Java.lang.ClassLoader.loadClass at java.net.URLClassLoader.findClass (URLClassLoader.java:188) (basic method) Java.lang.ClassLoader Javas.lang.ClassLoader.loadClassInternal (ClassLoader.java:320) at .loadClass (ClassLoader.java:252) ... 6 more Java results: 1
Yes, you need an Apache logging jar file on your classpath. Download it here:
Comments
Post a Comment