readobject method throws ClassNotFoundException
The package name and classname must be exactly the same at the both sides. I.e. write once, compile once and then give the both sides the same copy. Don’t have separate server.Message and client.Message classes, but a single shared.Message class or something like that. If you can guarantee the same package/class name, but not always … Read more