You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And has 2 implementations. One of them is MessageResponse:
package org.csgid.ucl.common.shared;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class MessageResponse extends Response {
public MessageResponse() {
}
@JsonCreator
public MessageResponse(@JsonProperty("message") String message,
@JsonProperty("data") Serializable data) {
this.message = message;
this.data = data;
}
private String message;
private Serializable data;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Serializable getData() {
return data;
}
public void setData(Serializable data) {
this.data = data;
}
}
I tried everything: changed Response interface into abstract class, put the initialising code into different part of code, moved getters/setters declarations into the interface, moved GWT.crate either into onModuleLoad method or into view implementation constructor.
Please help,
Jacek
The text was updated successfully, but these errors were encountered:
Hi,
I have an exception during compilation: http://pastebin.com/b6Uf7EBt
I use: java 1.7, gwt 2.6.1 gwt-jackson 0.6.2.
The error is somewhere here:
Response is an interface:
And has 2 implementations. One of them is MessageResponse:
I tried everything: changed Response interface into abstract class, put the initialising code into different part of code, moved getters/setters declarations into the interface, moved
GWT.crate
either intoonModuleLoad
method or into view implementation constructor.Please help,
Jacek
The text was updated successfully, but these errors were encountered: