tags:

views:

558

answers:

1

SEVERE: Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: bean.ProjectAreaBean at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at java.util.ArrayList.readObject(ArrayList.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

+1  A: 

You need to make bean.ProjectAreaBean serializable.

Thilo
It is kind of weird that this error would be raised on `readObject`, not `writeObject`. Could the data be written by another version of the program with a version of the class that is serializable? In this case, make sure all your code has the same jar files. And do not update your serializable classes.
Thilo
hellow thilo thanks for help but i dont know how to serialisable this class
deven