本文介绍了RF JsonRpcProxy“既不是吸气者也不是设置者”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当gwt编译我的 @JsonRpcProxy 注释为<$时,既不是getter也不是setter c $ c> ValueProxy 接口。



我使用Autobean Category 但似乎 RquestFactoryGenerator 无法处理它们:
$ b

有些帮助吗?

解决方案

是的,根本不支持:



随时在 http://code.google.com/p/google-web-toolkit/issues/list

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:

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.

这篇关于RF JsonRpcProxy“既不是吸气者也不是设置者”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 08:52