Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1
-
Fix Version/s: 2.2.1
-
Labels:None
-
Environment:Windows XP
GWT 1.5
-
Number of attachments :
Description
Hi,
I cannot launch a GWT app in hosted mode with the gwt:run goal. I get a serialization error :
[INFO] StandardContext[]ERROR: The serialization policy file '/test.GMavenTest/3D8C9ED7A7ACB57FC755C1283A84575C.gwt.rpc' was not found; did you forget to include it in this deployment?
[INFO] StandardContext[]WARNING: Failed to get the SerializationPolicy '3D8C9ED7A7ACB57FC755C1283A84575C' for module 'http://localhost:8888/test.GMavenTest/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result.
And then I get serialization exceptions.
Look at the attached sample project.
Activity
Olivier Lamy
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.1.x [ 16941 ] |
nicolas de loof
made changes -
| Fix Version/s | 2.2 [ 17169 ] | |
| Fix Version/s | 2.1.x [ 16941 ] |
nicolas de loof
made changes -
| Fix Version/s | 2.2.1 [ 17209 ] | |
| Fix Version/s | 2.2.0 [ 17169 ] |
It seems this is not due to gwt-maven-plugin.
Try to implements IsSerializable instead of Serializable in your ServiceDTO class, this should work.