SpringBoot整合Redis遇到的问题 1: 把@Autowired换成@Resource就可以了 RestTemlate cant find 一般解决办法: 1:检查你的版本是否对应 2:配置文件中spring.redis.host=127.0.0.1 不可以写localhost