JNLP启动错误
问题描述:
我有一个JNLP文件工作正常,它看起来像我的电脑不再运行它后,我升级到Java 1.7(32位jdk1.7.0_02) 当我选择在查看详细信息无法启动应用程序对话框中,将启动文件显示为随机字符,例外的是:JNLP启动错误
MissingFieldException[ The following required field is missing from the launch file: <jnlp>] at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
在这里可以看到该文件:Download Trial Version of The Proctinator
它看起来像文件正在运行的Java 6的其他计算机但我遇到的计算机却能够启动其他JNLP文件就好了。
有什么想法?
答
您可能希望在使用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'.
...
BTW - 东西,将不由JaNeLA检测的描述。
的proctinator通过分配分配槽 电子邮件和网络节省纸张。
应..
的proctinator通过通过 电子邮件和网络分发作业节省纸张。
And .. +1帮助树木。
尝试列出发送给客户端的逐字http响应。这很可能是一个不正确的MIME类型。 – 2012-01-06 12:04:28