On 16 sep, 22:42, Rud <[email protected]> wrote: > The missing class is: > > java.lang.NoClassDefFoundError: org/json/JSONException > > It confused me that it was an exception class. Made me think the > exception was reporting the missing class instead of it being the > missing class. > > No, I didn't have the json jar in the class path but adding it hasn't > helped. But I'm uncertain I the classpath setup properly. > > I'm running Windows so set a global environment variable pointing to > where to the json jar file. > > I'm using Eclipse so I included the json jar in the build path. Is > that necesary or appropriate? > > Is the json jar class path needed for the Jetty web server to find it? > Is it a jar that would be in the GAE server, i.e. doesn't have to be > included in my project upload? > > Or am I totally lost?
You just have to copy the JAR within your war/WEB-INF/lib (not needed in the Build Path, as you won't use it directly, but needed at runtime on the server-side). AFAIK, the GAE environment won't give it to you" for free", you have to deploy it as part of your application. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
