While working on a sample project, I got this exception after changing the package structure of my event classes. (Qualified name of event class is changed.):
…xstream.mapper.CannotResolveClassException : old_package_name.MyEventClass
So, serialized events that were saved to DB are tried to be deserialized. But their definitions were changed.
How can we migrate our data in these situations? I don’t have much experience on event sourcing.
Thanks in advance.