Kryo serializers seem to work locally, but they're not found on the remote cluster when needed for deserialization.
The test case shows that the serializer works:
mvn test
Run locally to see that the AModel
s are properly serialized and deserialized: