繁体   English   中英

SmsLib App在Eclipse中运行但导出的可运行Jar出现以下问题?

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

以下问题。 您能在这个问题上帮助任何人吗?

在Eclipse中,与基于桌面的应用程序相同的应用程序运行良好。 但是导出为可执行文件Jar File后,出现以下问题。 它是日志文件。

尝试通过加密狗作为排队的MSG发送SMS

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.

如果遇到这种情况,请尝试我的解决方案(我也遇到了同样的问题,它可以解决我的问题: 实际上,它在文档SMSlib中有所说明

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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