异常】使用Redis提示Field redisTemplate in required a bean of type RedisTemplate that could not be found."/>
【异常】使用Redis提示Field redisTemplate in required a bean of type RedisTemplate that could not be found.
一、异常内容
Field redisTemplate in com.xxx.admin.timer.HotAppTimer
required a bean of type 'org.springframework.data.redis.core.RedisTemplate'that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true) - Action: Consider defining a bean of type - 'org.springframework.data.redis.core.RedisTemplate' in your configuration.
***************************
APPLICATION FAILED TO START
***************************Description:
更多推荐
【异常】使用Redis提示Field redisTemplate in required a bean of type RedisTemplate that c
发布评论