redis
en-Anna
这个作者很懒,什么都没留下…
展开
-
Java8, redis序列化中关于LocalDateTime时间转换的问题
通过string存储的对象,如下但从string中取出对象过程中出现LocalDatetime序列化异常org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Cannot construct instance of `java.time.LocalDateTime` (no Creators, like default constructor, exist): no String-a原创 2022-02-23 08:39:42 · 374 阅读 · 0 评论 -
m1 pro 安装redis
步骤1:安装redishomebrew安装步骤见:m1 pro 安装homebrew# 命令安装brew install redis步骤2:启动服务/关闭# 初次启动brew services start redis==> Successfully started `redis` (label: homebrew.mxcl.redis)# 连接redisredis-cli127.0.0.1:6379> set name nazimeiOK127.0.0.1:6379&原创 2022-02-14 14:10:11 · 1174 阅读 · 0 评论