From ec604732b4ffb6484050b4107be25031312b8bda Mon Sep 17 00:00:00 2001 From: zhangdaiscott <zhangdaiscott@163.com> Date: Wed, 2 Dec 2020 10:09:50 +0800 Subject: [PATCH] gateway database方式加载失败问题解决 --- jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java b/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java index d4c1d37..5b3789a 100644 --- a/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java +++ b/jeecg-boot/jeecg-boot-starter/jeecg-boot-starter-redis/src/main/java/org/jeecg/boot/starter/redis/config/RedisConfiguration.java @@ -7,7 +7,6 @@ import lombok.extern.slf4j.Slf4j; import org.jeecg.boot.starter.redis.prop.JeecgRedisProperties; import org.jeecg.boot.starter.redis.service.RedisReceiver; import org.jeecg.common.constant.GlobalConstants; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; @@ -41,7 +40,6 @@ public class RedisConfiguration { * @return */ @Bean - @ConditionalOnMissingBean(RedisTemplate.class) public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) { log.info(" --- redis config init --- "); // 设置序列化 -- libgit2 0.22.2