SerializationPolicy error when performing RPC from within GWT application

后端 未结 10 2109
醉梦人生
醉梦人生 2020-12-14 01:59

I\'m getting the following exception:

com.google.gwt.user.client.rpc.SerializationException: Type \'java.lang.Long\' was not included in the set of ty

10条回答
  •  孤城傲影
    2020-12-14 02:53

    Another FWIW: I believe I cleared up a similar problem in an enum class by changing the access modifier of the single, one argument constructor from default (no modifier) to 'private'. In any event, doing that didn't break it because it's working that way now.

提交回复
热议问题