Cause: java.io.NotSerializableException: cn.huimin.domain.Dept 翻译过来就是:Dept类没有实现序列化接口解决办法:让Dept实现 Serializable 接口。