Project A and Project B are both developed with spring and share the same redis server.But, the error occurred because the UserVO object in project A does not exist in project B.
org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the type array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.CalssNotFoundException: test.myProject.common.vo.UserVO
It can only be modified in Project A.Please suggest a solution. I really don't know.
I searched for the error in chatgpt, but couldn't find a suitable solution.