查找“javax.jnlp.BasicService”时出现 UnavailableServiceException
查找 javax.jnlp.BasicService
时抛出 UnavailableServiceException
。
下面是代码片段:
BasicService basicServiceHandle =
(BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
我只是尝试 jnlp API 的示例 - BasicService @ http:// pscode.org/jws/api.html#bs 作为 Java 应用程序。
关于同样的原因可能是什么...或者任何值得检查的事情有什么建议吗?
更新
我不知道我应该如何从 Eclipse 中尝试它。
UnavailableServiceException
is being thrown on look-up for javax.jnlp.BasicService
.
Below is the code snippet:
BasicService basicServiceHandle =
(BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
I am just trying an example of jnlp API - BasicService @ http://pscode.org/jws/api.html#bs as a Java Application.
Any suggestions as to what could be the reason for the same... or anything that could be worth checking?
Update
I am not sure how I should be trying it from eclipse.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
BasicService
|完成basicservice.zip
(进入文件夹:BasicService
)|完成BasiceService/basicservice/build.xml
可能有更好的方法。如图所示,这正是我通过下载 Eclipse 并通过帮助进行一些崩溃/操作后得出的结论。
BasicService
|Finishbasicservice.zip
(Into folder:BasicService
)|FinishBasiceService/basicservice/build.xml
There may be better ways. That as shown is just what I figured out from having downloaded Eclipse and doing a bit of a crash/bang through the help.