[
http://jira.codehaus.org/browse/MGWT-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238156#action_238156
]
Dane Hammer commented on MGWT-93:
---------------------------------
Maybe this isn't a bug, then, but I'm having the same issue. When I build my
project with maven using the gwt-maven-plugin's compile and generateAsync
goals, if there has been a change to serialized classes in my project that
would require a change to the serialization policy file and/or files that
reference it (the .gwt.rpc file), those changes are not reflected. I get the
serialization policy not found error message, referencing a policy name that is
not the name of the .gwt.rpc file packaged up.
Workaround: Run GWT Compile with the Google Eclipse Plugin on the project
before packaging. This surprises me, though, because even when I do "mvn clean
package" this still solves the problem.
> Serialization policy was not found
> ----------------------------------
>
> Key: MGWT-93
> URL: http://jira.codehaus.org/browse/MGWT-93
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> GWT 1.5
> Reporter: Zaccret
> Attachments: gmaven-test.zip
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email