Support for Generic methods?

9 views
Skip to first unread message

Dan Billings

unread,
Sep 3, 2010, 12:47:26 AM9/3/10
to gwtrpccommlayer
I have a generic GWT-RPC method in my service class

<D extends HasId> add(D data);

I am getting a server-side error of
NoSuchMethodException(MyServlet.add(MyObject object));

It seems as if it's using the actual Type of my object to resolve the
method, instead of being generic.

When invoked using both configurations, namely:
the web.xml filter-like solution
extending GwtRpcCommLayerServlet


Reply all
Reply to author
Forward
0 new messages