While working on a GWT application incorporating a SuggestBox and a custom suggestion oracle class I got stung by the following error:
"Type 'custom suggestion class' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialised."
"Type 'custom suggestion class' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialised."
The solution to my particular problem was to move the custom suggestion class into the client side package (it needs to be on the client side).
The following blog post from "Developer Resource" had the answer to my problem : http://developer-resource.blogspot.com.au/2008/07/google-web-toolkit-suggest-box-rpc.html?showComment=1220955960000#c5951897759257003353
Decided to put a post up about this solution to the problem because it has a very faint web foot print, most other suggested fixes are about creating a empty constructor for your suggestion class.