1
當我將JavaFX應用上傳到網站時,出現以下錯誤,但我沒有在本地獲取它。JavaFX:JNLP文件錯誤
我假設我錯過了'codebase'標籤,但我不確定它在哪裏,請問有誰能幫助我?
Java控制檯錯誤:
exception: JNLP file error: iShout_Foxpro_browser.jnlp.
Please make sure the file exists and check if "codebase" and "href" in the JNLP
file are correct..
java.io.FileNotFoundException: JNLP file error: iShout_Foxpro_browser.jnlp.
Please make sure the file exists and check if "codebase" and "href" in the JNLP
file are correct.
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.io.FileNotFoundException: JNLP file error:
iShout_Foxpro_browser.jnlp.
Please make sure the file exists and check if "codebase" and "href" in the
JNLP file are correct.
HTML文件源...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>app_one</title>
</head>
<body>
<script src="http://dl.javafx.com/1.3/dtfx.js"></script>
<script>
javafx(
{
archive: "app_one.jar",
draggable: true,
width: 480,
height: 320,
code: "app.Main",
name: "app_one"
}
);
你有沒有試過把完整路徑水罐裏的「檔案」屬性? – 2010-05-23 17:53:50