出现一个异常:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.abc.beans.AppBean
原因:AppBean类没有实现序列化
解决方法:
1。AppBean类实现implements Serializable接口;
2。在AppBean类中加入import java.io.Serializable;
出现一个异常:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.abc.beans.AppBean
原因:AppBean类没有实现序列化
解决方法:
1。AppBean类实现implements Serializable接口;
2。在AppBean类中加入import java.io.Serializable;