Thanks Brandon Donnelson !!!
Segunda-feira, 31 de Outubro de 2011 13:01:30 UTC-2, Brandon Donnelson
escreveu:
I think you need to add the gwt-servlet-deps to the class path. right
click on gwt-servlet-deps.jar and add to buildpath. I'm pretty sure that's
where the json classes where.
I have the same problem:
java.lang.NoClassDefFoundError: org/json/JSONException
at runtime when I try to call request.fire().
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),
I think you need to add the gwt-servlet-deps to the class path. right click
on gwt-servlet-deps.jar and add to buildpath. I'm pretty sure that's where
the json classes where.
http://code.google.com/p/gwt-examples/wiki/DemoRequestFactory - my setup
notes.
Brandon Donnelson
I have an error when the application is deployed.
The exception is Caused by: java.lang.NoClassDefFoundError: org/json/
JSONException. But the rare is that I have all libraries in de WEB-
INF/lib
gwt-servlet.jar
gwt-servlet-deps.jar
requestfactory-servlet.jar
validation-api-1.0.0.GA.jar
I'm not
I dunno a Maven repository for JSON, but you can download and build
the package yourself from http://www.json.org/java/index.html
On Sep 16, 10:45 am, Cristian Rinaldi csrina...@gmail.com wrote:
I have an error when the application is deployed.
The exception is Caused by:
The problem is requestfactory-server.jar may or may not
have org/json/JSONException, depending where it's coming from. Check out this
threadhttps://groups.google.com/d/topic/google-web-toolkit/R5QNo2y8Nyo/discussion
.
--
You received this message because you are subscribed to the Google
On Friday, September 16, 2011 4:45:45 PM UTC+2, Cristian Rinaldi wrote:
I have an error when the application is deployed.
The exception is Caused by: java.lang.NoClassDefFoundError: org/json/
JSONException. But the rare is that I have all libraries in de WEB-
INF/lib
gwt-servlet.jar