java.io.NotSerializableException:異常,創建的pojo類未實現Serializable接口,啟動服務器會報此異常,但是貌似對代碼功能沒影響,或者說暫時未發現有什么影響。
要解決此異常,可通過實現該接口解決。
import java.io.Serializable;
public class DeptPojo implements Serializable{
private String deptId;
private String deptName;
private String deptGrade;
private String deptStatus;
。。。。。。