问答 2022-02-15 来自:开发者社区

spring boot 配置redis缓存?报错

用spring boot 配置redis缓存时报错如下: java.lang.IllegalStateException: No CacheResolver specified, and no unique bean of type CacheManager found. Mark one as primary (or give it the name 'cacheManager') or de....

问答 2022-02-15 来自:开发者社区

spring boot 配置redis缓存 : 配置报错

用spring boot 配置redis缓存时报错如下: java.lang.IllegalStateException: No CacheResolver specified, and no unique bean of type CacheManager found. Mark one as primary (or give it the name 'cacheManager') or d.....

问答 2022-02-15 来自:开发者社区

SpringBoot 配置 Redis 缓存

SpringBoot工程中做了redis缓存,怎么配置一下,让缓存的数据在过一定时间内清理掉?需要写定时任务吗?

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

微服务

构建可靠、高效、易扩展的技术基石

+关注