Sunday, November 28, 2010

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

On 27 nov, 15:46, Simon Majou <si...@majou.org> wrote:
> Hello,
>
> I am trying to run the dynatablerf example for request factory, and I
> get :
>
> <body><h2>HTTP ERROR: 500</h2><pre>org/json/JSONException</pre>
> <p>RequestURI=/gwtRequest</p><h3>Caused by:</
> h3><pre>java.lang.NoClassDefFoundError: org/json/JSONException
[...]
> Can you tell which jar to use to resolve that ? Shouldn't the classes
> be included into GWT 2.1 ?

They are in gwt-servlet-deps.jar (which the build.xml should correctly
copy to war/WEB-INF/lib, but maybe the Google Plugin for Eclipse
doesn't –can't tell, I'm using Maven for my 2.1 projects–)

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

No comments:

Post a Comment