解决:org.springframework.data.redis.core.RedisTemplate' that could not be found

将 RedisTemplate<XXXXX, XXXX> redisTemplate 的注解 @Autowired 更换为 @Resource
原文地址:https://www.cnblogs.com/tszr/p/15450028.html