【异常】使用Redis提示Field redisTemplate in required a bean of type RedisTemplate that could not be found.

今天药忘吃喽~ 2024-02-21 12:20 104阅读 0赞

一、异常内容

  1. Field redisTemplate in com.xxx.admin.timer.HotAppTimer
  2. required a bean of type 'org.springframework.data.redis.core.RedisTemplate'
  3. that could not be found. The injection point has the following annotations:
  4. - @org.springframework.beans.factory.annotation.Autowired(required=true)
  5. - Action: Consider defining a bean of type
  6. - 'org.springframework.data.redis.core.RedisTemplate' in your configuration.
  7. ***************************
  8. APPLICATION FAILED TO START
  9. ***************************
  10. Description:

发表评论

表情:
评论列表 (有 0 条评论,104人围观)

还没有评论,来说两句吧...

相关阅读