2010-05-18 6 views
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" 
    } 
); 

+0

당신이 '아카이브'속성에 항아리의 전체 경로를 퍼팅 시도 했습니까? –

답변

1

마태 복음 Hegarty, 당신은 "archieve"속성을 가리키는되지 않은 올바른지 보인다 서버에 업로드되었을 때 올바른 위치로 이동합니다.

답을 내려 놓으면 정답으로 틱합니다.

감사 제프 포터