2012-06-02 8 views
0

모두. Google API : 독서 문서

나는 구글 API와 몇 가지 문제가 있어요 : 문서 목록을 읽고 싶은,하지만 첫 번째 줄에
DocsService client = new DocsService("yourCo-yourAppName-v1"); 

예외 가지고 :

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 

모든 아이디어와 제안을?

답변

1

NoClassDefFoundError 오류로 판단되는 종속성이 누락 된 것 같습니다. gsp/HTML 헤드에 정확한 google API 참조가 있는지, Groovy 파일에 올바른 가져 오기가 있는지 확인하십시오.

1

확인 외부 종속성 목록이 페이지 : https://developers.google.com/gdata/articles/java_client_lib

+0

감사합니다,하지만 limk는 아무 대답이 없다 내가 필요로하는 모든 단지를 설명하지 않습니다. Google에 필요한 모든 항아리를 발견하고 추가했습니다. –

관련 문제