时GWT SerializationException在将ArrayList<MyObject>
作为参数传递给RPC servlet方法时,我得到SerializationException
。类别MyObject
只包含2个字段,其类型为String
和Serializable
。进入Serializable
字段,我传递值为Boolean
(checkBox.getValue
),String(textBox.getValue)
和Date(dateBox.getValue)
。所以在Serializable
字段里我总是有100%可以被序列化的类型。为什么这个例外可以提高?当传递Serializable对象作为参数
谢谢。
什么例外?发布完整的消息和堆栈跟踪。它几乎肯定包含答案。 – EJP