Hi,
I am getting this error
java.lang.NoClassDefFoundError: com/google/gdata/util/
AuthenticationException.
I am using Eclipse with "Google Plugin for Eclipse" and Google app
engine. I am trying to get all blogs from blogger using Gdata plugin.
I have included the following jar files also:

gdata.** all jar files,
google-collect-1.0-rc1.jar
Gdata plugin

My Code:
public class GetAllBlogs extends HttpServlet {
        public void doGet(HttpServletRequest req, HttpServletResponse resp)
        throws IOException{
                try {
                        GoogleService myservice = new GoogleService("blogger", 
"exampleCo-
exampleApp-1");
                        myservice.setUserCredentials("mygmail account", "my 
password");
                        // Request the feed
                          final URL feedUrl = new 
URL("http://www.blogger.com/feeds/default/
blogs");
                          Feed resultFeed = myservice.getFeed(feedUrl, 
Feed.class);

                          // Print the results
                          
System.out.println(resultFeed.getTitle().getPlainText());
                          for (int i = 0; i < resultFeed.getEntries().size(); 
i++) {
                            Entry entry = resultFeed.getEntries().get(i);
                            System.out.println("\t" + 
entry.getTitle().getPlainText());
                          }
                } catch (AuthenticationException e) {
                        e.printStackTrace();
                } catch (ServiceException e) {
                        e.printStackTrace();
                }
        }
}

Please help

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to