If are using the latest 3.4 version, then the current directory is always searched for. So you can place the .conf file in the current directory and not use any "-D" directives at all.
However, the ClassNotFound exception may come from other errors. Is SMSServer built ok? Where are you running it from? On Apr 10, 9:41 am, ankit <[email protected]> wrote: > hi, > i have a the problem. > but when i try to run using -Dsmsserver.configdir=/path/to/ > smsserver.conf/ > it gives me NoClassDefFoundError > In the first place the conf file is in the same directory from where > smsserver is executed then why is it throwing FileNotFoundException? > Stuck here for long plz guide. > > On Feb 13, 4:37 pm, Thanasis <[email protected]> wrote: > > >http://smslib.org/doc/smsserver/#Configuration_File > > > You should use a specific directory to let SMSServer know where is > > itsconffile. > > > On Feb 13, 1:18 pm, Karthik <[email protected]> wrote: > > > > Hi, > > > > When I run the SMSServer.java file i got the error as > > > > 0 [main] ERROR org.smslib - SMSServer Error: > > > org.smslib.SMSLibException: Cannot find SMSServer configuration file! > > > at > > > org.smslib.smsserver.SMSServer.loadConfiguration(SMSServer.java: > > > 134) > > > at org.smslib.smsserver.SMSServer.run(SMSServer.java:318) > > > at org.smslib.smsserver.SMSServer.main(SMSServer.java:480) > > > > But that file is in the same org.smslib.smsserver package. Please give > > > any solutions... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
