Monday, June 1, 2015

SerializationPolicy

I defined an interface such as MyInterface in module A. I have its implementation such as MyInterfaceImpl as well as  MyInterfaceImpl_CustomFieldSerializer in another module such as B. I used @JsType for the interface. I launched a embedded Jetty server from module A that can access MyInterfaceImpl.class in server class path, but module B is not included in module A gwt.xml file. I got the following error message - Type 'MyInterfaceImpl  was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. How do I resolve this issue?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment