Hi.
Does anyone know why i get a classnotfoundexception when i try to read an object that implements the interface serializable from a socket.

Recommended Answers

All 5 Replies

Most likely you're not importing the class of the object being read.

I am using an object that is in the same package :)

Well, it was just a guess since you failed to actually post any code which would have made a better answer possible...

Do you know if there is anything with eclipse and the classpath ?

Do you know if there is anything with eclipse and the classpath ?

Well, it was just a guess since you failed to actually post any code which would have made a better answer possible...

To say the least, please post your code so we can be of more help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.