java.lang.NoClassDefFoundError: com/google/gwt/json/client/JSONParser at runtime when trying to parse json -


i'm working gwt , i'm getting java.lang.noclassdeffounderror: com/google/gwt/json/client/jsonparser exception @ runtime when try parse json.

i've imported following: import com.google.gwt.json.client.jsonparser;

my code is

string r = ((text) entity.getproperty("result")).getvalue();     jsonvalue jsonvalue; jsonvalue = jsonparser.parsestrict(r); 

generally jar couldn't found, in case no external jar needed, right? wrong here , how can fix it?

to work json, need inherit right module (in application module).

<inherits name='com.google.gwt.json.json'/> 

also, sure have gwt-user.jar in classpath.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -