justauth-spring-boot-starter icon indicating copy to clipboard operation
justauth-spring-boot-starter copied to clipboard

按照默认使用redis作为缓存,启动报错

Open longzb2008 opened this issue 4 years ago • 0 comments

Description:

Field redisTemplate in com.pethouse.api.service.impl.SendMessageServiceImpl required a single bean, but 2 were found: - justAuthRedisCacheTemplate: defined by method 'justAuthRedisCacheTemplate' in class path resource [com/xkcoding/justauth/autoconfigure/JustAuthStateCacheConfiguration$Redis.class] - stringRedisTemplate: defined by method 'stringRedisTemplate' in class path resource [org/redisson/spring/starter/RedissonAutoConfiguration.class]

longzb2008 avatar Sep 07 '20 09:09 longzb2008