Hello, I have a minor problem that I need to help with. I have a world which I am saving to file, but when I try to load (deserialize) it then there's this exception "Caused by: java.io.InvalidClassException: greenfoot.SaboterWorld; no valid constructor".
I have no idea what to do with it, I tried to create no-arg constructor in SaboterWorld with super inside of it, but it doesn't work for me. I tried to make every class Serializable. I put this "private static final long serialVersionUID = 1L;" to every class, but still nothing.
I would appreciate any kind of help or advice.
Thank you in advance. :)