java中使用对象的序列化流ObjectOutputStream出现NotSerializableException解决方法
Exception in thread “main” java.io.NotSerializableException: com.wuyue.demo04.ObjectStream.Person
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
atcom.wuyue.de
原创
2020-07-12 16:40:45 ·
1326 阅读 ·
0 评论