博主你好,我想问下,我按照你的方法去添加@Cacheable注解,去前端拿数据,控制台报错:
io.lettuce.core.RedisCommandExecutionException: ERR wrong number of arguments for 'set' command
如果我注掉@Cacheable,再去前端拿数据就是正常的。。
想问下你有没有遇到这种情况
SpringBoot之redis缓存,注解方式spring boot对缓存支持非常灵活,我们可以使用默认的EhCache,也可以整合第三方的框架,只需配置即可。SpringBoot工程使用Redis缓存,也是非常方便(网...