Finally I find the solution!
In my dto I declared a property of type class X in which I declared an enum
in this manner:
public enum Type {
SHORT (S),
MEDIUM (M),
LONG (L);
private String code;
private Type(String code) {
this.code = code;
}
public String
Unfortunately even this is not the solution!
I confirm that the behavior of the gwt compiler seems to be rather random.
Currently I only note that making a gwt compile only after a complete maven
clean, it seems that it fixes the problem.
Anyone has the same problem?
Marcello De Marco
Il giorno
ERRATA CORRIGE
The solution for me is more trivial than it seemed.
I had this error using bean with a list property not initialized.
For example:
public class Order implements Serializable {
private ListItem items;
...
}
Simply initializing the list property the error disappears:
public
Sorry for the delay in thanking you for your reply. I understand that
Objects cannot be serialized, which is why I can't understand the error
message.
Some more information:
DeviceConfiguration is has a generic type, T, which extends DeviceProperty
which is an interface. The definition of the
On Sunday, February 26, 2012 2:22:47 AM UTC+1, Dan wrote:
[WARN] Checking all subtypes of Object which qualify for serialization
This is your problem.
See
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes
--
You received this