I added the following dependency
implementation group: \'org.springframework.data\', name: \'spring-data-redis\'
and it works fine. My problem is