Hello everyone Right now im facing same problem Can you can guide mi how you solved your problem
On Saturday, February 21, 2009 at 8:45:13 PM UTC+3, btd1 wrote: > > Hi Everyone, > > I loved using SMSLib for the last few months- got to say its great! > > On to my problem: > > I messed around using the ReadMessages example that comes with the > download. The only change I made to that code was an insert into a > database when a message is recieved. I created a project in Netbeans, > added the appropriate jars etc and the Project builds and runs fine. > > My problem occurs when I try to execute the Jar file that Netbeans > creates outside of the Netbeans IDE. Executing the jar with a batch > file or just typing [ java -jar "ReadMsg.jar" ] gives me this > error: > > ________________________________________________________________________________ > > > Exception in tread "Thread-1" java.lang.ExceptionInInitializerError > at org.smslib.modem.SerialModemDriver.connectPort > (SerialModemDrive.java:67) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java:110) > at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java: > 126) > at org.smslib.Service$1Srarter.run(Service.java:222) > Caused by: java.lang.RuntimeException: CommPortIdentifier class not > found > at org.smslib.helper.CommPortIdentifier.<clinit> > (CommPortIdentifer.java:75) > . . . 4 more > ________________________________________________________________________________ > > > > I dont get any error in Netbeans, not even warnings. > > Any ideas what is going on? > > Thanks in advance, > btd1. > -- 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/d1b59ed2-1c30-4ca0-9e9c-c747dd03a5b1%40googlegroups.com.
