I'm having multiple microservices sharing cache together.I'm using GenericJackson2JsonRedisSerializer and got this error on deserializing the cached value.
GenericJackson2JsonRedisSerializer
java.lang.ClassCastException: class com.serviceA.AClass cannot be cast to class com.serviceB.AClass
How can I deserialize it without put AClass in a common shared package?
AClass
Thank you
2.1m questions
2.1m answers
60 comments
57.0k users