I'm going through Google's Java Quickstart page for google sheets but after going through the steps, and trying to run the sample code provided, I get these errors:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
NetHttpTransport cannot be resolved to a type
GoogleNetHttpTransport cannot be resolved
Sheets cannot be resolved to a type
Builder cannot be resolved to a type
Sheets cannot be resolved to a type
JsonFactory cannot be resolved to a type
The method getValues() is undefined for the type ValueRange
at SheetsQuickstart.main(SheetsQuickstart.java:66)
Any ideas on what might be causing it?
Here's the quickstart sheet I am following: https://developers.google.com/sheets/api/quickstart/java