"Class not found" suggests a build problem. Check your build procedures and classpath settings.
On Tuesday, June 12, 2012 1:35:57 PM UTC+3, asish wrote: > > HI, > I cant send sms using smslib.When i run SendMessage.java it shows the > following error.... > 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.5.2 > ...port test... > Exception in thread "main" java.lang.NoClassDefFoundError: Could not > initialize class org.smslib.Service > at SendMessage.doIt(SendMessage.java:92) > at SendMessage.main(SendMessage.java:17) > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msg/smslib/-/NLhTx4iza8wJ. 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.
