springboot缓存实现 初学springboot缓存 发现使用时候报了redis的错误 猜测是只要有导redis的包缓存实现方式自动选择为redis方式 在spring的yml文件中配置 spring: cache: type: simple 解决报错