Hi All,
this problem is where?
i put this files in Java's lib/ext directories,
slf4j-api-1.5.6.jar
slf4j-jcl-1.5.6.jar
slf4j-log4j12-1.5.6.jar
slf4j-jdk14-1.5.6.jar
and
commons-net-2.0.jar
is depend slf4j to another file?
thank.
------------------------------------
run:
Example: Send message from a serial gsm modem.
SMSLib: A Java API library for sending and receiving SMS via a GSM
modem or other supported gateways.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org
Version: 3.4.3
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
        at org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:209)
        at org.smslib.helper.Logger.<init>(Logger.java:34)
        at org.smslib.Service.<init>(Service.java:100)
        at examples.modem.SendMessage.doIt(SendMessage.java:27)
        at examples.modem.SendMessage.main(SendMessage.java:77)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.logging.LogFactory
        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 java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        ... 6 more
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to