Tarun, Seems like you dont have the SMS Lib jar file in your java class path.
You are launching the program from the src directory which will not have the desired class files, can you try including the jar (distributed in the dist folder ) or build the whole project and then try to launch with built classes in path Thanks Akash Yadav On Friday, 27 December 2013 17:07:20 UTC+5:30, Tarun gupta wrote: > > While running smsserver getting this error > > C:\smslib-v3.5.3\src\java>java > -Dsmsserver.configdir=C:\smslib-v3.5.3\src\java\ > org\smslib\smsserver org.smslib.smsserver.SMSServer > Exception in thread "main" java.lang.NoClassDefFoundError: > org/smslib/smsserver/ > SMSServer > Caused by: java.lang.ClassNotFoundException: org.smslib.smsserver.SMSServer > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > Could not find the main class: org.smslib.smsserver.SMSServer. Program > will exi > t. > > Help Me... > -- 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/msgid/smslib/4440e8f9-f8d6-436c-8844-98163a3f365a%40googlegroups.com.
