google-code-export / smslib

Automatically exported from code.google.com/p/smslib
1 stars 0 forks source link

gateway problem #496

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i complile the simple SendMessage class in eclipse and i get the following 
error :
log4j:WARN No appenders could be found for logger (smslib).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Exception in thread "Thread-3" java.lang.ExceptionInInitializerError
    at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:69)
    at org.smslib.modem.AModemDriver.connect(AModemDriver.java:114)
    at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:189)
    at org.smslib.Service$1Starter.run(Service.java:276)
Caused by: java.lang.RuntimeException: CommPortIdentifier class not found
    at org.smslib.helper.CommPortIdentifier.<clinit>(CommPortIdentifier.java:76)
    ... 4 more

helppppp pleaseeeeeeeeee 

Original issue reported on code.google.com by zeidsa...@gmail.com on 10 Jul 2012 at 10:48

GoogleCodeExporter commented 9 years ago
The error is:

java.lang.RuntimeException: CommPortIdentifier class not found

This is caused by incorrect JavaComm installation. Check the instructions:
http://smslib.org/doc/installation/#Java_Communications_Library

Original comment by T.Delenikas on 11 Jul 2012 at 9:54