• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error loading an applet

 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys there,

I have an applet that requires some jar files. When loading, it throws a FileNotFound exception, although the jar file is already at the same location as the applet.
I do not understand why. Does any one experiment the same problem?

Here is the java console output:



Thanks!
 
Paul Clapham
Sheriff
Posts: 21565
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message actually provides a URL which it says is inaccessible to the browser. If you don't believe that error message, you can copy the URL and paste it into your browser's address bar. Chances are you'll get a 404 (Not Found) response code, although there are other reasons why the URL can't be accessed.

So once you've done all that, your job is to look at your server and find out why the server doesn't return anything for that URL. Perhaps there really isn't anything there and the jar files are somewhere else. Perhaps your server doesn't return jar files. Any number of things could be wrong, but you won't know until you start looking.
 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:The error message actually provides a URL which it says is inaccessible to the browser. If you don't believe that error message, you can copy the URL and paste it into your browser's address bar. Chances are you'll get a 404 (Not Found) response code, although there are other reasons why the URL can't be accessed.

So once you've done all that, your job is to look at your server and find out why the server doesn't return anything for that URL. Perhaps there really isn't anything there and the jar files are somewhere else. Perhaps your server doesn't return jar files. Any number of things could be wrong, but you won't know until you start looking.


I pasted the URL into browser and the jar file is downloadable, I didn't get a 404 error. Very strange!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic