Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialization - ClassNotFound Exception  RSS feed

Muhammad Farag
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here guys i have a 3 machines implementing 2 servers and one client they send and receive messages between each others throw an object called MessageX . now in the IDE i use [Eclipse] i have 3 projects with 3 packages in side , each package contain a version of the class with changing only one final attribute from one to other to determine source . so the PROBLEM is that once one of the servers receive the Object that is from type MessageX through ObjectInputStream and cast it back to MessageX i receive the very nice Exception ClassNotFound so how can i do this knowing that with out this class there will be no program .it is the main core of the transmission between the 3 machines .
i will send the class code so it may give you some clue.

[ November 10, 2007: Message edited by: Muhammad Farag ]
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!