{"id":72556,"library":"spring-boot-starter-redis","title":"Spring Boot Starter Redis (Deprecated)","description":"Starter for using Redis with Spring Data Redis and Jedis client; deprecated in favor of spring-boot-starter-data-redis.","status":"active","version":"1.4.7.RELEASE","language":"java","source_language":null,"source_url":"https://github.com/spring-projects/spring-boot","tags":["redis","spring-boot","deprecated","data"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework.boot</groupId>\n  <artifactId>spring-boot-starter-redis</artifactId>\n  <version>1.4.7.RELEASE</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework.boot:spring-boot-starter-redis:1.4.7.RELEASE'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"RedisTemplate","correct":"org.springframework.data.redis.core.RedisTemplate"}],"quickstart":{"code":"import org.springframework.data.redis.core.RedisTemplate;\nimport org.springframework.beans.factory.annotation.Autowired;\n\npublic class Example {\n    @Autowired\n    private RedisTemplate<String, String> redisTemplate;\n\n    public void setValue(String key, String value) {\n        redisTemplate.opsForValue().set(key, value);\n    }\n}","lang":"java","description":"Injects RedisTemplate and sets a key-value pair."},"warnings":[{"fix":"Replace dependency with org.springframework.boot:spring-boot-starter-data-redis.","message":"This starter is deprecated since Spring Boot 1.4; use spring-boot-starter-data-redis instead.","severity":"breaking","affected_versions":">=1.4.0"}],"env_vars":null,"search_vec":"'boot':2,23,30 'client':16 'data':12,25,32 'deprec':5,17,31 'favor':19 'jedi':15 'redi':4,9,13,26,27 'spring':1,11,22,29 'spring-boot':28 'spring-boot-starter-data-redi':21 'starter':3,6,24 'use':8","created_at":"2026-06-17T18:40:31.421307+00:00","updated_at":"2026-06-17T18:40:31.421307+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://projects.spring.io/spring-boot/","github":"https://github.com/spring-projects/spring-boot","docs":"https://appdoc.app/artifact/org.springframework.boot/spring-boot-starter-redis/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}