Hi, I’m following the instructions from google to build a Java application that can read/write to Google Sheets. when I run gradle -q run
I get this:
Error: Could not find or load main class Quickstart
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:run’.
> Process ‘command ‘C:\Program Files\Java\jdk1.8.0_162\bin\java.exe’’ finished with non-zero exit value 1
Are you sure you followed Step 3 (Create a file named src/main/java/Quickstart.java) exactly as written? The mainClassName in Step 2 must match the name of the class exactly, so if you created a src/main/java/QuickStart.java or anything that doesn’t match exactly, the main class will not be found.