I’ve developped an Event with LocalDate attribute. When testing it, I get the following exception:
com.thoughtworks.xstream.converters.ConversionException: Cannot convert type java.time.Ser to type java.time.LocalDate
---- Debugging information ----
class : org.axonlab.basics.jsr303.api.PersonCreatedEvent
required-type : org.axonlab.basics.jsr303.api.PersonCreatedEvent
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path : /org.axonlab.basics.jsr303.api.PersonCreatedEvent/dateBirth
line number : 1
version : 1.4.6
It seems that XStream is not able to convert Java8 LocalDate. I’ve not found any related additional converters and it doesn’t seem to included in XStream 1.4.7.
Do I miss ST? Did anyone already encountered the same issue ?