springboot整合redis时 在调用redis的工具类时,RedisTemplate无法注入(值为null)的解决办法

NoSuchKey