Javafx:JNLPファイルエラー
-
30-09-2019 - |
質問
JavafxアプリをWebサイトにアップロードすると、次のエラーが発生しますが、ローカルでは取得できません。
「コードベース」タグのようなものが足りないと思いますが、どこに行くのかわかりません。誰かが私を助けてくれませんか?
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"
}
);
解決
Matthew Hegartyは、あなたが正しいようです、「Archieve」プロパティは、サーバーにアップロードされたときに正しい場所を指していませんでした。
あなたが答えを下ろすならば、私はそれを正しい答えとしてチェックします。
ジェフ・ポーターに感謝します
所属していません StackOverflow