Hello, My application are divided in two modules. The module A inherits module B, there's a Serializable class on module B used by a service on A as return value. When the service returns a list of object from that class the exception belows appears on log:
------------ Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'br.ufrn.lcc.m4o.client.dominio.modelo.Contato' 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 serialized.: instance = br.ufrn.lcc.m4o.client.dominio.modelo.cont...@184be7d at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 610) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129) at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java: 43) at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java: 36) ----------------- Anyone knows any problems about using classes from inherited modules as return value from rpc calls? I'm using GWT 2.0, the second module is on my war's lib directory and contains .class and .java files, the java files are to the gwt compile recognise and compile to js. I'm using a supermodule that inherits from ones above. There isn't EntryPoint on module B. Hugo Vinícius -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
