SerializationException: type not included in serializable type set

前端 未结 6 1920
既然无缘
既然无缘 2021-01-07 17:14

In my Google Web Toolkit project, I got the following error:

com.google.gwt.user.client.rpc.SerializationException: Type ‘your.class.Type’ was not included in the se

6条回答
  •  感情败类
    2021-01-07 17:26

    I'll also add that if you want to use a nested class, use a static member class. I.e.,

    public class Pojo {
        public static class Insider {
        }
    }
    

    Nonstatic member classes get the SerializationException in GWT 2.4

提交回复
热议问题