문제

I'm getting is neither a getter nor a setter when gwt is compiling my @JsonRpcProxy annotated ValueProxy interfaces.

I have those methods implemented with an Autobean Category but seems that RquestFactoryGenerator can't handle them:

[ERROR] [modules] The method public abstract client.beans.ExpenseFreeBase findExpenseFreeBaseAssignedForThisDate(java.util.Date date) is neither a getter nor a setter

Some help?

도움이 되었습니까?

해결책

Yes, that simply is not supported: http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/user/src/com/google/web/bindery/requestfactory/gwt/rebind/model/RequestFactoryModel.java#329

Feel free to open a request-enhancement (as I couldn't find an existing one) at http://code.google.com/p/google-web-toolkit/issues/list and see how the GWT team feels about it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top