2012-01-06 98 views
2

我有一個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文件就好了。

有什麼想法?

+0

嘗試列出發送給客戶端的逐字http響應。這很可能是一個不正確的MIME類型。 – 2012-01-06 12:04:28

回答

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通過通過 電子郵件和網絡分發作業節省紙張。

And .. +1幫助樹木。