Hello everyone,
I need to use JSON in my Vaadin-Application so I added these two tags to my gwt.xml file:
Then I imported these packeges in my class (as described in this gettingStarted tutorial
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStartedJSON
) :
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONException;
import com.google.gwt.json.client.JSONNumber;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONString;
import com.google.gwt.json.client.JSONValue;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestBuilder;
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
Then I started codig and everything looked pretty well. But at runtime I alwas get a ClassNotFoundException:
java.lang.ClassNotFoundException: com.google.gwt.json.client.JSONValue
What am I missing? I’m kind of stuck and would appreciate some help
Kind regards,
Andreas