Groups
Groups
Sign in
Groups
Groups
gwtrpccommlayer
Conversations
About
Send feedback
Help
Support for Generic methods?
9 views
Skip to first unread message
Dan Billings
unread,
Sep 3, 2010, 12:47:26 AM
9/3/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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