Ive been having an exception while Im trying to do an application who
connects to the calendar.

This is a VERY simple applicattion who reproduces my error (ive
previously added the gdata-calendar-2.0.jar to the project):


import com.google.gdata.client.calendar.CalendarService;


public class ssss {

        public static void main(String[] args)
        {
        CalendarService service = new CalendarService("demo-
CalendarFeedDemo-1");
        }
}


And the exception:

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:532)
        at ssss.main(ssss.java:9)
Caused by: java.lang.ClassNotFoundException:
com.google.common.collect.Maps
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 4 more


I dont understand anything, any help??

thanks.

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

Reply via email to