This site requires JavaScript, please enable it in your browser!
Greenfoot back
Nosson1459
Nosson1459 wrote ...

2017/4/10

GREENFOOT TEAM

Nosson1459 Nosson1459

2017/4/10

#

ClassNotFoundException

My problem is all here.
davmac davmac

2017/4/10

#
I already answered there. Clear your caches. Best full procedure is probably:
  • close all broswer windows (you can leave one, make sure it isn't displaying the applet)
  • clear your browser cache
  • close your browser
  • clear your Java applet cache - check all three boxes to clear everything, just to be sure
  • Start your browser again.
The scenario did run for me so it is something about the state of your own browser/Java plugin.
Nosson1459 Nosson1459

2017/4/10

#
davmac wrote...
I already answered there. Clear your caches.
I know you answered there, and I also replied there that it still doesn't work. Though, then I didn't clear all the stuff that I was supposed to, now I did but it still doesn't work. I cleared everything in all browsers and Java, and every check box was checked, but it doesn't work for me.
davmac davmac

2017/4/10

#
The scenario that you linked to works for me. It seems that there must be some issue that is local to your PC. Unfortunately clearing the caches is the solution I know of.
Nosson1459 Nosson1459

2017/4/10

#
Why should it not be able to find the class? When it doesn't work for you and then you clear your caches to make it work, what was the change that you did from not working to be working, that now it all of a sudden can find the class. I do remember seeing the game before (I seem to remember it downloaded but I don't think that's possible if the gfar was never uploaded), but that was a long while ago, ever since that one time, it hasn't worked. I remember that there are different battle field layouts with hills and valleys. There is this blue person who gets controlled by the user and has to shoot arrows at the red people. If this is correct then I probably have seen it before (It's liked by me). There are many other scenarios that also get that error, but I don't know if they would have worked at the time that this one did.
Nosson1459 Nosson1459

2017/4/10

#
I see that I got some things wrong about the game. I was able to download the .jar file and then open with Standalone - for Windows, running without installation from a USB stick Greenfoot-304.zip.
davmac davmac

2017/4/10

#
When it doesn't work for you and then you clear your caches to make it work, what was the change that you did from not working to be working, that now it all of a sudden can find the class
I'm not sure that I understand the question. The only change I've ever made was to clear the cache. I assumed that the plugin (and/or browser) had a corrupted copy of the Greenfoot core jar file in the cache, and so on after clearing the cache it re-downloads it - but that's really mostly guesswork on my part.
Nosson1459 Nosson1459

2017/4/10

#
davmac wrote...
the plugin (and/or browser) had a corrupted copy of the Greenfoot core jar file in the cache, and so on after clearing the cache it re-downloads it - but that's really mostly guesswork on my part.
That answers my question enough.
You need to login to post a reply.