OK. Resolved this problem (jar file confusion). Please ignore, -Patricia Patricia Goldweic [email protected]
_____ From: [email protected] [mailto:[email protected]] On Behalf Of Patricia Goldweic Sent: Wednesday, June 03, 2009 4:14 PM To: [email protected] Subject: another strange exception when creating CalendarService object Hi, I'm still trying to get my first programmatic sharing requests to GoogleCalendar service to work (I have no trouble with Google Docs), and I'm getting an exception when using the Java client api and trying to create an instance of this service, as follows: java.lang.NoSuchMethodError: com.google.gdata.data.ValueConstruct.<init>(Lcom/google/gdata/util/common/xm l/XmlWriter$Namespace;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String; )V at com.google.gdata.data.calendar.AccessLevelProperty.<init>(Unknown Source) at com.google.gdata.data.calendar.AccessLevelProperty.<clinit>(Unknown Source) at com.google.gdata.data.calendar.CalendarEntry.declareExtensions(Unknown Source) at com.google.gdata.data.ExtensionProfile.addDeclarations(ExtensionProfile.java :71) at com.google.gdata.data.BaseFeed.declareExtensions(BaseFeed.java:226) at com.google.gdata.client.calendar.CalendarService.<init>(Unknown Source) at com.google.gdata.client.calendar.CalendarService.<init>(Unknown Source) at edu.northwestern.at.gint.servlets.data.GintCalendarService.<init>(GintCalend arService.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) My code, within the constructor for 'GintCalendarService' (a wrapper on top of the GoogleService class) does the following: GoogleService m_service = new CalendarService("myname"); when it runs into the exception above. I'm now running this with the gdata version 1.29 libraries, after having been unsuccessful with the 1.32 libraries I tried earlier today. Could somebody help figure out what is the problem here? Thanks in advance, -Patricia [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" 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-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
