JNLP 启动错误

发布于 2024-12-25 00:24:48 字数 500 浏览 3 评论 0原文

我有一个工作正常的 JNLP 文件,升级到 Java 1.7(32 位 jdk1.7.0_02)后,我的计算机似乎不再运行它 当我在无法启动应用程序对话框中选择查看详细信息时,启动文件显示为随机字符,例外情况是:

MissingFieldException[ The following required field is missing from the launch file: <jnlp>] at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)

您可以在此处查看文件:下载 Proctinator 的试用版

看起来该文件可以在运行 Java 6 的其他计算机上运行。但是我遇到问题的计算机能够启动其他 JNLP 文件 美好的。

有什么想法吗?

I have a JNLP file that was working fine and it looks like my computer no longer runs it after I upgraded to Java 1.7 (32 bit jdk1.7.0_02)
When I select view details in the Unable to launch the application dialog, the launch file appears as random characters and the exception is:

MissingFieldException[ The following required field is missing from the launch file: <jnlp>] at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)

You can see the file here: Download Trial Version of The Proctinator

It looks like the file is working on other computers running Java 6. Yet the computer I'm having issues with is able to launch other JNLP files just fine.

Any thoughts?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

世界和平 2025-01-01 00:24:48

在过多了解版本之间的差异之前,您可能需要使用 JaNeLA 验证启动文件。如果 JNLP 无效,那么任何人都可以猜测 JWS 客户端将如何解释它。

JaNeLA Report - version 11.05.17


Report for http://proctinator.com/dist/launch.jnlp

cvc-complex-type.2.4.a: Invalid content was found starting with element 'security'. One of '{resources, application-desc, applet-desc, component-desc, installer-desc}' is expected.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'security'. One of '{resources, application-desc, applet-desc, component-desc, installer-desc}' is expected.
XML encoding not known, but declared as UTF-8
Codebase + href 'http://proctinator.com/ProctinatorDemo.jnlp' is not equal to actual location of 'http://proctinator.com/dist/launch.jnlp'.
...

顺便说一句 - JaNeLA 不会检测到描述中的某些内容。

Proctinator 通过分配作业来节省纸张
电子邮件和网络。

应该是..

Proctinator 通过分配作业来节省纸张通过
电子邮件和网络。

还有..+1帮助树木。

You might want to validate the launch file using JaNeLA before wondering too much about differences between versions. If the JNLP is invalid, it is anybody's guess as to how a JWS client will interpret it.

JaNeLA Report - version 11.05.17


Report for http://proctinator.com/dist/launch.jnlp

cvc-complex-type.2.4.a: Invalid content was found starting with element 'security'. One of '{resources, application-desc, applet-desc, component-desc, installer-desc}' is expected.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'security'. One of '{resources, application-desc, applet-desc, component-desc, installer-desc}' is expected.
XML encoding not known, but declared as UTF-8
Codebase + href 'http://proctinator.com/ProctinatorDemo.jnlp' is not equal to actual location of 'http://proctinator.com/dist/launch.jnlp'.
...

BTW - something in the description that will not be detected by JaNeLA.

The proctinator saves paper by distributing the assignments trough
eMail and the web.

Should be ..

The proctinator saves paper by distributing the assignments through
eMail and the web.

And.. +1 for helping the trees.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文