springboot2.X整合redis存储对象

【SpringBoot2.0系列07】SpringBoot之redis使用(Lettuce版本)
如果是在windows上运行redis-server,IDEA可能会出现MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.的错误提示,这个主要是因为没有办法进行RDB持久化,修改文件名称及保存目录即可。

CONFIG SET dir c:\Users\someone\somedir
CONFIG SET dbfilename temp.rdb

你可能感兴趣的:(SpringBoot)