解决:org.springframework.data.redis.core.RedisTemplate' that could not be found 将 RedisTemplate<XXXXX, XXXX> redisTemplate 的注解 @Autowired 更换为 @Resource