本文主要是介绍stream classdesc serialVersionUID = -6768724563169924434, local class serialVersionUID = 1,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
stream classdesc serialVersionUID = -6768724563169924434, local class serialVersionUID = 1
springboot远程调用服务序列化报错解决办法
这是代码报错的原因(因为你写的UID=1) class serialVersionUID = 1,
使用的远程调用(所以要将UID的值改为报错的值即 -6768724563169924434)
需要显示的写出来UID例如:
@Data
public class IssueVO implements Serializable { /实现序列化方便传输/
private static final long serialVersionUID = -6768724563169924434L;
private Integer id;
private String question;
private String answer;
private String addTime;
private String updateTime;
private Boolean deleted;
}
这篇关于stream classdesc serialVersionUID = -6768724563169924434, local class serialVersionUID = 1的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!