I've modified a line in SendMessage.java
SerialModemGateway gateway = new SerialModemGateway("modem.com40",
"COM40", 115200, "Nokia", "E50");
run:
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.4.1
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:
189)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:112)
at org.slf4j.LoggerFactory.performInitialization
(LoggerFactory.java:105)
at org.slf4j.LoggerFactory.getILoggerFactory
(LoggerFactory.java:235)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:208)
at org.smslib.helper.Logger.<init>(Logger.java:34)
at org.smslib.Service.<init>(Service.java:97)
at examples.modem.SendMessage.doIt(SendMessage.java:27)
at examples.modem.SendMessage.main(SendMessage.java:79)
Caused by: java.lang.UnsupportedOperationException: This code should
have never made it into the jar
at org.slf4j.impl.StaticLoggerBinder.<init>
(StaticLoggerBinder.java:67)
at org.slf4j.impl.StaticLoggerBinder.<clinit>
(StaticLoggerBinder.java:48)
... 9 more
Java Result: 1
please help me to successfully run this SendMessage Example.
thank u.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---