public class Authority { private Integer id; private String authority; private Customer customer; private Customer_Authority customer_authority;
在做springSecurity的时候,使用的是mybatis框架,还有Redis缓存;
出现这种问题的原因是由于我的实体类并没有序列化导致的,
之后我就在实体类加上了一个 implements Serializable。
完美的解决了这个问题!!!
DefaultSerializer requires a Serializable payload but received an object of type [com.itheima.domai
原文:https://www.cnblogs.com/xuan99/p/14790083.html