idea搭建的springmvc项目在本地无问题运行,部署阿里云,访问出现如下错误:
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?;
最后是清空阿里云服务器中redis服务器的缓存,问题解决。