Tuesday, December 7, 2010

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

Just noting that this does solve the problem and that the gwt-servlet-
deps.jar is in the GWT 2.1 distribution. (I hit this problem today
and adding the jar resolved the issue).

RB

On Nov 28, 1:42 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> 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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate