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 google-gson
Hi there!
I've got a problem using Gson. I am working on a Project using the
GoogleWebToolkit. There a Client-Server Communication is used, and
JSON and Gson to realize this. I included the Gson Library from the
Gson Download File in the Project (maybe it's time to tell that i'm
using Eclipse EE). There i just imported the Gson Library, and in the
Java Build Path and in the Java EE Dependencies. But the Compiler
always gives the error message:
[ERROR] Line 31: No source code is available for type
com.google.gson.Gson; did you forget to inherit a required module?
Can anyone tell me what to do or give some hints where i can find the
answer? The Gson Homepage only tells, that an easy import of the gson
class is enough.
Alex Epshteyn
unread,
Jan 14, 2009, 3:10:11 PM1/14/09
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 google-gson
You can't use Gson in your client-side (GWT) code. GWT only allows
you to use a subset of the Java features, and Gson uses more
sophisticated Java capabilities (like reflection) which aren't
supported by GWT.
In general, GWT lets you use 3rd party libraries that were explicitly
designed for GWT.