springboot+shiro+redis序列化问题

redis读取session的时候报错

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "valid" (class org.apache.shiro.session.mgt.SimpleSession), not marked as ignorable (10 known properties: "attributeKeys", "timeout", "startTimestamp", "expired", "lastAccessTime", "host", "id", "stopTimestamp", "attributes", "attributesLazy"])

原因:

springboot+shiro+redis序列化问题_第1张图片

你可能感兴趣的:(SpringBoot)