2013-03-20 58 views
0

JNLP無法啓動並出現錯誤「無法解析啓動文件,第0行出錯」。java - Jnlp無法解析啓動文件。第0行錯誤

這裏是文件

<?xml version="1.0" encoding="utf-8"?> 
<jnlp spec="1.0+" codebase="http://192.168.102.95:8080/aasweb/" href="PdaSynch.jsp"> 
    <information> 
     <title>Pda Synch</title> 
     <vendor>Amplex</vendor> 
     <homepage href="http://192.168.102.95:8080/" /> 
     <description>Pda Synch</description> 
    </information> 
    <security> 
     <all-permissions/> 
    </security> 
    <resources> 
     <j2se version="1.6+" /> 
     <jar href="PdaSynch.jar" /> 
    </resources> 

    <application-desc main-class="com.amplex.pda.ProcessPDAFiles" name="pdaSynch"> 
     <argument>user12</argument> 
    </application-desc> 
</jnlp> 
+0

看來有效的給我,但嘗試用[JaNeLA](驗證它http://pscode.org/janela/)。 – 2013-03-20 08:40:01

+0

..Stop破壞我的編輯! – 2013-03-20 08:43:51

+0

我用JaNeLA試過並得到以下消息:內容類型內容/未知不等於預期的應用程序類型/ x-java -jnlp-file 匹配「[xX] [mM] [lL]」的處理指令目標是不允許。 – user2189962 2013-03-20 08:54:22

回答

0

我解決了這個問題,我刪除HREF = 「PdaSynch.jsp」 從JNLP標籤屬性

相關問題