Mr. Cat
Mr. Cat

Reputation: 3552

Google API: reading docs

everyone.

I got some problems with Google API: want to read docs list, but on the first line

DocsService client = new DocsService("yourCo-yourAppName-v1");

got an exception:

Could not initialize class com.google.gdata.client.docs.DocsService. Stacktrace follows:
Caused by NoClassDefFoundError: Could not initialize class com.google.gdata.client.docs.DocsService

Any ideas and suggestions?

Upvotes: 0

Views: 410

Answers (2)

Claudio Cherubino
Claudio Cherubino

Reputation: 15004

Check this page for the list of external dependencies: https://developers.google.com/gdata/articles/java_client_lib

Upvotes: 1

Michael J. Lee
Michael J. Lee

Reputation: 12406

Looks like your missing a dependency judging by the NoClassDefFoundError error. Make sure you have the correct google API references in the head of your gsp/HTML or the correct imports in your groovy files.

Upvotes: 1

Related Questions