Spring Boot Upgrade Redis – Null key returned for cache operation
After the spring 3.x upgrade Redis Cache gives Null key returned for cache operation spring-boot version: 3.2.2 <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>5.1.0</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <exclusions> <exclusion> <groupId>io.lettuce</groupId> <artifactId>lettuce-core</artifactId> </exclusion> </exclusions> </dependency> Cachable Method: @Cacheable(value = "user", key = "#username",…