public final Object readObject() throws IOException, ClassNotFoundExceptionReturns: the object read from the stream Throws: ClassNotFoundException - Class of a serialized object cannot be found. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```看看java doc,因该是你在服务端写的操作不对。
throws IOException,
ClassNotFoundExceptionReturns:
the object read from the stream Throws:
ClassNotFoundException - Class of a serialized object cannot be found.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```看看java doc,因该是你在服务端写的操作不对。