0
500 자 이상의 항목을 저장하기위한 com.google.appengine.api.datastore.Text 속성이있는 엔티티가 있습니다.com.google.appengine.api.datastore.Text를 Jersey REST 웹 서비스와 함께 사용하는 방법
문제는 저지 REST가 텍스트 유형과 다릅니다. 그래서 게터는 다음과 같이, 그것은 나머지 작업을 얻을 수있는 stringValue을 반환했다 :
public String getContent() {
return content.getValue();
}
public void setContent(Text content) {
this.content = content;
}
개발 모드를 실행하지 않을 경우, GAE에 배포 할 때 오류 만 제공
:
The type of the getter is java.lang.String but that of the setter is com.google.appengine.api.datastore.Text. They have to be the same.
무엇을 해야 할 것?