标签:服务器 jdk desc 信息 hal img png form led
异常信息:
org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is java.io.InvalidClassException: com.luban.scm.scmplatform.modules.sys.entity.LoginUser; local class incompatible: stream classdesc serialVersionUID = -5388239816073203128, local class serialVersionUID = 4198333968177734505 org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:84)
清除缓存:
1.访问redis根目录 cd /usr/local/redis-2.8.19 2.登录redis:redis-cli -h 127.0.0.1 -p 6379 3.查看所有key值:keys * 4.删除指定索引的值:del key 5.清空整个 Redis 服务器的数据:flushall 6.清空当前库中的所有 key:flushdb
标签:服务器 jdk desc 信息 hal img png form led
原文地址:https://www.cnblogs.com/hoge66/p/12408489.html