Saturday, September 10, 2011

Re: RequestFactory error

I'm now getting:
Caused by: java.lang.NoClassDefFoundError: org/json/JSONException
Caused by: java.lang.ClassNotFoundException: null

at this line:
requestFactory.employeeRequest().getName().fire(new Receiver<String>() {
  @Override public void onSuccess(String response) {
  nameField.setText(response);
}});

I've included the requestfactory-server.jar, validation-api-1.0.0.GA.jar and hibernate-validator-4.1.0.jar.
My *.gwt.xml file contains:
<inherits name='com.google.web.bindery.requestfactory.RequestFactory' />

I'm using GWT2.4


I've been trying to figure this out for days and I can't see what's wrong.
--
Pav

--
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