Problem: there was an error writing the serialized IO stream today
… eofexception:
exception in thread “main” java.io.streamcorruptedexception: invalid stream header: 7b312c22
take a look at my code
After analysis, the problem has been solved:
Look at the correct code:
The code didn’t change, just changed the order inside and solved it successfully. The specific causes are described in the figure