首页 文章

JNLP启动错误

提问于
浏览
2

我有一个工作正常的JNLP文件,看起来我的计算机在升级到Java 1.7后不再运行它(32位jdk1.7.0_02)当我在 Unable to launch the application 对话框中选择查看详细信息时,启动文件显示为随机字符例外是:

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文件 .

有什么想法吗?

1 回答

  • 2

    在想知道版本之间的差异之前,您可能希望使用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通过电子邮件和网络分发作业来节省纸张 .

    并且.. 1用于帮助树木 .

相关问题