Hi, I'm making a message board system with Java Servlet.
The servlet save all messages sent by clients into a file as Object with
ObjectInputStream.
but sometimes I get an error, and all information in the file is gone.
The Error says "Local class not compatible: stream classdesc
serialVersionUID=-6276226423314623654 local class
serialVersionUID=-2865528740498031919".
The servlet calld Message class that I made implements serializable. 
(The Message class will be saved into the file)
If I change the Message class, No wonder the error comes up.
but since I haven't changed the Message class...it's weird.
It does NOT ALWAYS happen, but sometimes. It'll be critical.

anyone knows what's going on with it ?
ps) I change the servlet code, but Message class.

Thanks in advance.

Fumitada Hattori.



--
----------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to