GWT - occasional com.google.gwt.user.client.rpc.SerializationException

后端 未结 11 1176
走了就别回头了
走了就别回头了 2020-12-13 08:47

we are haunted by occasional occurences of exceptions such as:

com.google.gwt.user.client.rpc.SerializationException: Type \'xxx\' was not assignable

11条回答
  •  生来不讨喜
    2020-12-13 09:35

    So the RPC files are unique because they are loaded by servlets as well as being used in GWT. See http://code.google.com/webtoolkit/release-notes.html#Release_Notes_1_4_59 where it says "This file must be deployed to your web server as a public resource, accessible from a RemoteServiceServlet via ServletContext.getResource()"

    Is it possible the new application is being reloaded dynamically and getResource is failing in some way? Does restarting the application fix things?

提交回复
热议问题