I keep getting an InvalidClassException when I read in my serialized objects. What am I doing wrong?
Location: http://www.jguru.com/faq/view.jsp?EID=28705 Created: Mar 26, 2000 Modified: 2000-03-26 22:54:31.294 Author: Tim Rohaly (http://www.jguru.com/guru/viewbio.jsp?EID=10) An InvalidClassException is thrown if the serial version of the object read from the stream does not match that of the loaded class. What probably happened is you changed your class definition since the time you wrote out the serialized instance. To find out how to fix this, see the FAQ at http://www.jguru.com/jguru/faq/view.jsp?EID=5063.