springboot缓存实现

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

posted @ 2021-08-31 15:41  TIGO  阅读(26)  评论(0编辑  收藏  举报