我在Tomcat 7服务器上间歇性地遇到此问题。大部分时间它的工作原理似乎与代码更改无关。例如。今天服务器重新启动,我们开始看到过去两周完全相同的战争问题。用GWT 2.6和2.7
观察到了它
com.google.gwt.user.client.rpc.SerializationException: Type 'com.google.gwt.view.client.Range' 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 serialized.: instance = Range(0,20)
它有一个引用RPC的null构造函数的javadoc:
/**
* The range of interest for a single handler.
*/
public class Range implements Serializable {
private int length;
private int start;
...
/**
* Used by RPC.
*/
Range() {
}