Using the NetBeans IDE6.9.1:
CalendarService myService = new CalendarService(face.sendMeCalName());
face.sendMeCalName() returns a String, "Tutoring-Schedule"
This is the error I got:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/google/common/collect/Maps
at
com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:118)
at
com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:100)
at com.google.gdata.client.Service.<clinit>(Service.java:555)
at
googlecalendarinterface.CalendarCommunicator.main(CalendarCommunicator.java:45)
<-------- this is the line of code I posted above
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Maps
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 4 more
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
I'm at loss at this point. I'm trying to create an event, but if I can't
authenticate, the Developers Guide leads me to believe there is nothing I
can do to the calendar. Since this is the first line in the two needed to
authenticate.....I'm stuck. Any help would be appreciated.
-Latygen
--
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://code.google.com/apis/calendar/community/forum.html