Monday, October 31, 2011

Re: java.lang.NoClassDefFoundError:org/json/JSONException

I have the same problem:
java.lang.NoClassDefFoundError: org/json/JSONException
at runtime when I try to call
I tried including in my WEB-INF/lib several combinations of these jars (gwt-servlet.jar, gwt-servlet-deps.jar, requestfactory-servlet.jar, validation-api-1.0.0.GA.jar), without success.
I only realized that validation-api-1.0.0.GA.jar is needed in my application (otherwise the RF Servlet does not respond properly on /gwtRequest) and that JSONException is actually included in gwt-servlet-deps.jar and requestfactory-servlet.jar.
Any help? Thanks,

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment