Hey folks,
I created a pretty neat Google Calendar type Interface(JApplet) in
Netbeans. Integrated it with Google Calendar. When ever i run the
Applet file from inside Netbeans it run absolutely perfect. I'm able
to retrieve google calendar events, modify the previous events, delete
the events and add new events.
The problem comes when I try to run the HTML file which invokes my
applet. Whenever the i open the file it throws the following
exception.
java.lang.NoClassDefFoundError: com/google/gdata/util/ServiceException
at ui.CalendarPanel.loadEvents(CalendarPanel.java:264)
at ui.CalendarPanel.jComboRoomNoActionPerformed(CalendarPanel.java:
159)
at ui.CalendarPanel.access$100(CalendarPanel.java:22)
at ui.CalendarPanel$2.actionPerformed(CalendarPanel.java:113)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at javax.swing.JComboBox.addItem(Unknown Source)
at ui.CalendarPanel.initialize(CalendarPanel.java:75)
at ui.CalendarPanel.<init>(CalendarPanel.java:40)
at ui.ComputerRRApplet.init(ComputerRRApplet.java:30)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
com.google.gdata.util.ServiceException
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 15 more
I dont know is it the problem with the Jar File or something else. I
copied all the google calendar apis to the jar and specified the
following classpath in the meta-inf file.
Class-Path: gdata-appsforyourdomain-1.0.jar gdata-appsforyourdomain-
meta-1.0.jar gdata-base-1.0.jar gdata-calendar-1.0.jar gdata-calendar-
meta-1.0.jar gdata-client-1.0.jar gdata-client-meta-1.0.jar gdata-
codesearch-1.0.jar gdata-codesearch-meta-1.0.jar gdata-
contacts-1.0.jar gdata-contacts-meta-1.0.jar gdata-core-1.0.jar gdata-
docs-1.0.jar gdata-docs-meta-1.0.jar gdata-media-1.0.jar gdata-
photos-1.0.jar gdata-photos-meta-1.0.jar gdata-spreadsheet-1.0.jar
gdata-spreadsheet-meta-1.0.jar gdata-youtube-1.0.jar gdata-youtube-
meta-1.0.jar sample-util.jar
But no success. Please help me I need to deliver this project asap, :-
((
Thanks in anticipation.
-SaM
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---