I am having this issue as well.  The annotations are in models in our 
'shared' package - shared between client and server.  Anyone know what I 
should change to resolve this?

On Thursday, December 30, 2010 1:38:27 PM UTC-5, Andrea Boscolo wrote:
>
> I suppose you are trying to use that annotation on a client side 
> class; javax is not emulated by gwt compiler, so you couldn't use it 
> client side. 
>
> Why not moving the adapter to the server side? Does your client really 
> need it? 
> Annotated jaxb classes can be used by the client (with a couple of 
> tweaks and not for all annotations), but marshalling/unmarshalling to/ 
> from xml, still need to be handled server side. In this point of view, 
> the adapter can be known only to your server. 
>
> I can tell you the tweak, but first try to move it server side. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/lcUrcWv0aLIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to