我处于这种情况:
@RemoteServiceRelativePath("create_event")
public interface CreateEventService extends RemoteService {
String[] createeventServer(LinkedList<LinkedList<String>> input) throws IllegalArgumentException;
}
public interface CreateEventServiceAsync {
void createeventServer(LinkedList<LinkedList<String>> input, AsyncCallback<String[]> callback)
throws IllegalArgumentException;
}
public class CreateEventServiceImpl extends RemoteServiceServlet implements CreateEventService {
public String[] createeventServer(LinkedList<LinkedList<String>> input) throws IllegalArgumentException {
String[] arr = new String[2];
...
return arr;
}
为什么会导致错误“响应无法反序列化”?
P.S。我试图用app引擎执行项目,没有它,但问题是一样的。
答案 0 :(得分:0)
对于可序列化对象的问题,您可以尝试以下检查列表:
字体:http://isolasoftware.it/2011/03/22/gwt-serialization-policy-error/