Class deserialization - Differences between Jython and Java

Solution 1:

You need to use org.python.util.PythonObjectInputStream instead of java.io.ObjectInputStream.