try placing in your java jdk, the following: slf4j-api-1.5.8.jar & slf4j-jdk14-1.5.8.jar (for binding with jdk. You can use another binding).
it must be placed in the ext folder as in: C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext The error message seems to suggest that it can not find the slf4j api but you also need to add the jar for binding otherwise you will get another error. This works for me. On Aug 16, 5:21 am, raza ali <[email protected]> wrote: > Hello, > When i run smsServer.java ,i get the following errors > > 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:243) > at org.smslib.helper.Logger.<init>(Logger.java:34) > at org.smslib.Service.<init>(Service.java:97) > at org.smslib.smsserver.SMSServer.<init>(SMSServer.java:70) > at org.smslib.smsserver.SMSServer.main(SMSServer.java:484) > > Your help will be highly appreciated. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib 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 -~----------~----~----~----~------~----~------~--~---
