利用若依框架配置redis序列化session的时候会出现这个错误。网上找到的答案。
热部署原因删掉热部署的依赖
<!--<dependency>-->
<!--<groupId>org.springframework.boot</groupId>-->
<!--<artifactId>spring-boot-devtools</artifactId>-->
<!--<optional>true</optional>-->
<!--</dependency>-->