Thursday, December 18, 2014

Re: GWT error "no instantiable subtypes" with interface in RPC method with 1 known concrete class?

and check that the request and response interfaces are marked Serializable

/Rene

Den torsdag den 18. december 2014 15.58.59 UTC+1 skrev rhmoller:
Are the classes visible to GWT? I don't see .client. or .shared. in the package com.ited.lang.transporttoken.TransportTokenResponse so double check the source entries in your gwt.xml file

/Rene

Den torsdag den 18. december 2014 14.09.16 UTC+1 skrev Jens:
Sorry for being impatient ;)..
Anybody an idea ? (interface not allowed at all in RPC method calls? )

No idea. Might be a bug... or intended ;-) Maybe GWT explicitly searches for a class that implements TransportTokenResponse<ProductDto> and does not care about your <T> implementation.

Does it work if you add

SimpleTransportTokenResponse<ProductDto> dummyMethod();

to your service?


-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment