In the past I have successfully used Kryo in a swing application.
However when I tried to upgrade to a javafx application I could not even register a class.
This is true even for classes that were successfully registered in the swing application.
The serializer I am using is Compatible Field Serializer, as I want to deal with scheme evolution.
Is this a known issue & is there a simple workaround.
I’ll copy some of the error message below this message.
Thank you very much for your help.
java.lang.reflect.InvocationTargetException Caused by: java.lang.IllegalArgumentException Caused by: java.lang.reflect Caused by: java.lang.reflect.InaccessibleObjectException Unable to make field private java.lang.String com.example.demo2.Person.gedId accessible: module com.example.demo2 does not "opens com.example.demo2" to module com.esotericsoftware.kryo.kryo5 Unable to create serializer "com.esotericsoftware.kryo.kryo5.serializers.CompatibleFieldSerializer" for class: