From 156ef3f1a0978fb19f7f61c46857b26e3e44e97a Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 19 Nov 2013 09:16:37 +0000 Subject: [PATCH] Weird build problem? --- .../boot/autoconfigure/redis/RedisAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/redis/RedisAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/redis/RedisAutoConfiguration.java index 2fab4c9fa7..0ad05b10b2 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/redis/RedisAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/redis/RedisAutoConfiguration.java @@ -61,7 +61,7 @@ public class RedisAutoConfiguration { } @Bean - @ConditionalOnMissingBean(RedisOperations.class) + @ConditionalOnMissingBean(name = "redisTemplate") RedisOperations redisTemplate( RedisConnectionFactory redisConnectionFactory) throws UnknownHostException {