Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.lang.NoSuchMethodError while calling sheets API #91

Open
prateek-infoobjects opened this issue Nov 16, 2019 · 0 comments

Comments

@prateek-infoobjects
Copy link

(Please fill out these details before submitting an issue)

Google sheet quickstart

Expected Behavior

Sheet API should be working smoothly.

Actual Behavior

Exception in thread "main" java.lang.NoSuchMethodError: com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient$Builder.setBatchPath(Ljava/lang/String;)Lcom/google/api/client/googleapis/services/AbstractGoogleClient$Builder;
at com.google.api.services.sheets.v4.Sheets$Builder.setBatchPath(Sheets.java:3143)
at com.google.api.services.sheets.v4.Sheets$Builder.(Sheets.java:3122)
at com.pansari.promoter.service.SheetQuickStart.main(SheetQuickStart.java:70)

Specifications

  • Java version (java -version) 1.8
  • OS Mac

POM changes:

com.google.apis
google-api-services-sheets
v4-rev516-1.23.0


com.google.api-client
google-api-client
1.23.0


com.google.oauth-client
google-oauth-client-jetty
1.23.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant