Calendar API

42 views
Skip to first unread message

Vinicius Jose Grein

unread,
Jul 12, 2012, 6:04:02 PM7/12/12
to google-we...@googlegroups.com

Dear all, I'm developing an app that access calendar, so I use the calendar api to gwt.

Before starting code, I tried to run and compile the example from gwt-google-apis. My request is approved and after the success message receive from OAuth protocol, 

the following piece of code is generating an exception

 private void getCalendarId() {

      // We need to find an ID of a calendar that we have permission to write events to. We'll just

      // pick the first one that gets returned, and we will delete the event when we're done.

      calendar.calendarList().list().setMinAccessRole(MinAccessRole.OWNER)

          .fire(new Receiver<CalendarList>() {

        ...

    }

Checking the log file the exception is:

java.lang.NoClassDefFoundError: org/json/JSONException

I was wondering if any of you support me in this error


Best Regards


Joseph Lust

unread,
Jul 15, 2012, 11:45:46 AM7/15/12
to google-we...@googlegroups.com
Have you inherited the JSON GWT libraries in your module?

<inherits name="com.google.gwt.json.JSON" /> 
<inherits name="com.google.gwt.http.HTTP" />

Sincerely,
Joseph
Reply all
Reply to author
Forward
0 new messages