简体   繁体   中英

SmsLib App working in Eclipse but exported runnable Jar has the following issue?

The following issue. Could you please anyone help on this issue?

In Eclipse same application that is desktop based application working fine. but once after export as executable Jar File the following issue is comming. it is log file.

try to send SMS via dongle as queued MSGs

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.5.2
JRE Version: 1.7.0_21
JRE Impl Version: 23.21-b01
O/S: Windows 7 / amd64 / 6.1
Queue directory not defined. Queued messages will not be saved to filesystem.
Initialized.
Running...
NotifyQueueManager running...
Initialized.
Running...
DelayQueueManager running...
Initialized.
Running...
GTW: modem.com1: Starting gateway, using Generic AT Handler.
GTW: modem.com1: Opening: COM3 @921600
GTW: modem.com1: Closing: COM3 @921600
NotifyQueueManager end...
DelayQueueManager end...
Running...
NotifyQueueManager running...
Stopped.
GTW: modem.com1: Stopping gateway...
NotifyQueueManager end...
GTW: modem.com1: Closing: COM3 @921600
GTW: modem.com1: Gateway stopped.
Running...
NotifyQueueManager running...
NotifyQueueManager end...
Running...
NotifyQueueManager running...
Stopped.

If you have this case try my solution (I had the same problem and it solved my problem this: in fact it is noted in the documentation SMSlib )

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM