Caused by: org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.lang.IllegalArgumentException: DefaultSerializer requires a Serializable payload but received an object of type [org.springframework.http.ResponseEntity]

Comment From: snicoll

We have mentioned to several issues you've created that we prefer to use GitHub issues only for bugs and enhancements. Please create a thread on StackOverflow.

ResponseEntity is not meant to be Serializable. When you create a thread on StackOverflow, please make sure to give more details about what you're trying to do: I doubt anyone is going to be able to help you with the current description.

Comment From: Dreampie

I use @Cacheable on controller with return ResponseEntity, it would be Serializable.

I will create it on StackOverflow,Thanks

Comment From: hendisantika

@Cacheable

I use @Cacheable on controller with return ResponseEntity, it would be Serializable.

I will create it on StackOverflow,Thanks

It not working for me.

https://github.com/hendisantika/spring-data-redis-sample

Can You give me StackOverflow link @Dreampie . Thanks