0
点赞
收藏
分享

微信扫一扫

springboot启动报错redisTemplate

Field redisTemplate in com.ctsec.investment.tools.redis.RedisUtil required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found.



解决办法,引入相关依赖


 <dependency>

  <groupId>io.lettuce</groupId>

  <artifactId>lettuce-core</artifactId>

 </dependency>

举报

相关推荐

0 条评论