SpringBoot Elasticache JedisMovedDataException: MOVED
问题 Trying to use SpringBoot with SpringData with Elasticache: application.properties: spring.redis.host=XXXX-dev.XXXX.clusXXXcfg.XXX.cache.amazonaws.com spring.redis.port=6379 CacheConfiguration: @Configuration @PropertySource("classpath:application.properties") public class CacheConfiguration { @Value("${spring.redis.host}") private String redisHostName; @Bean public RedisTemplate<String, Company> redisTemplate() { RedisTemplate<String, Company> template = new RedisTemplate(); template