On Friday, February 21, 2014 2:48:29 PM UTC+1, Fabricio Pizzichillo wrote:
Hello communityI have a problem running the superdevmode.Whenever the message "GWT module 'Foo' may need to be (re) compiled" appears when I press "DevModeOn --> Compile".RPC calls also do not work because it can not access the serialization policies.In the module put<add-linker name="xsiframe" /><set-configuration-property name="devModeRedirectEnabled"value="true" />
Note: you no longer need that second line with GWT 2.6.
The message when i make a call to server isType 'org.Foo' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized.
The superdevmode I run with "mvn gwt:run -Dgwt.codeserver.port=9876"and another terminal "mvn gwt:run-codeserver"
Make sure you use GWT 2.6 and add the following to your gwt:run configuration in your POM:
<systemProperties>
<gwt.codeserver.port>9876</gwt.codeserver.port>
</systemProperties>
This will tell your RemoteServiceServlets to load their serialization policies right from the SuperDevMode code server.
See http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0
(please do not use "inplace" unless you really understand the implications)
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/groups/opt_out.
No comments:
Post a Comment