SpringBoot +Redis+FastJson反序列化失败
报错信息:autoType is not support
阅读源码后找这个autotype
解决办法:
在fastjson的序列化器中加一句
static {
ParserConfig.getGlobalInstance().addAccept("com.humorchen");
}
本文来自博客园,作者:HumorChen99,转载请注明原文链接:https://www.cnblogs.com/HumorChen/p/18039702