Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/365.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java SmsLib应用程序在Eclipse中工作,但导出的runnable Jar存在以下问题?_Java_Eclipse_Message Queue_Executable Jar_Smslib - Fatal编程技术网

Java SmsLib应用程序在Eclipse中工作,但导出的runnable Jar存在以下问题?

Java SmsLib应用程序在Eclipse中工作,但导出的runnable Jar存在以下问题?,java,eclipse,message-queue,executable-jar,smslib,Java,Eclipse,Message Queue,Executable Jar,Smslib,以下问题。你能在这个问题上请任何人帮忙吗 在Eclipse中,基于桌面的应用程序工作正常。但一旦导出为可执行Jar文件,就会出现以下问题。它是一个日志文件 尝试作为排队的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 t

以下问题。你能在这个问题上请任何人帮忙吗

在Eclipse中,基于桌面的应用程序工作正常。但一旦导出为可执行Jar文件,就会出现以下问题。它是一个日志文件

尝试作为排队的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文档中有所说明


这其中的哪一部分显示了您正在经历的错误?预期的结果是什么?似乎并没有任何运行时异常或明显的错误消息,所以我不确定如何提供帮助。在那里,我使用SMSLib通过加密狗COM端口调制解调器为多个用户发送短信。从Eclipse启动时—这意味着运行或调试按钮将正确发送SMS。它是一个基于Swing的GUI应用程序,在后台使用另一个SMS线程。该应用程序由Eclipse作为Java项目构建。在那里,我使用SMSLib通过加密狗COM端口调制解调器为多个用户发送短信。从Eclipse启动时—这意味着运行或调试按钮将正确发送SMS。它是一个基于Swing的GUI应用程序,在后台使用另一个SMS线程。但是在导出可执行Jar文件之后,它就不起作用了。如果SMS成功发送,则Logger类中的此测试文件将仅包含电话号码、号码和时间戳详细信息。但在这里,它有一个未定义MSS的队列目录。同时短信没有发送到。这可能有助于显示您正在使用的一些代码。并且可能在Eclipse中工作时输出日志。你能提供的帮助我们理解问题越多,就越有可能有人能帮助解决问题