所以我試着對這個應用我的使用Webstart的,我不斷收到此錯誤:Java Web Start的錯誤FileNotFoundException異常
java.io.FileNotFoundException: http://www.fenixflame.net/DropLogger/Drop Logger.jar at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source) at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source) at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: http://www.fenixflame.net/DropLogger/Drop Logger.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) ... 15 more
這是用在webstart我的第一次。我用簡單的應用程序測試過它,它工作得很好。我認爲這可能與應用程序在啓動時嘗試讀取本地文件的事實有關。 不能發佈超過2個鏈接,但你可以在這裏查看: fenixflame.net/DropLogger/launch.html
爲什麼Drop和Logger之間有空間? – 2012-02-26 16:17:38
這就是項目的名稱。也許我應該改變它?空間不友善的網址 – Dangerosking 2012-02-26 16:23:48
我認爲這可能有幫助。 'jar'文件名中絕對不應該有空格。 – 2012-02-26 16:29:15