0

Hello all I can't seem to log in with google finance api to my account and I don't know why. Here is my code

public static void main (String [ ] args)

 {
  FinanceService myService = new FinanceService("exampleCo-exampleApp-1");
  try
  {
   myService.setUserCredentials("...@gmail.com","...");
  }
  catch (AuthenticationException e)
  {
   // TODO Auto-generated catch block
   e.printStackTrace();
  }
 }

And here is my error

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 

 at com.google.gdata.util.VersionRegistry.ensureRegistry(VersionRegistry.java:88)
 at com.google.gdata.client.Service.initServiceVersion(Service.java:458)
 at com.google.gdata.client.Service.<clinit>(Service.java:147)
 at main.main(main.java:55)

line 55 is the one that starts out FinanceService

Noon Silk
  • 54,084
  • 6
  • 88
  • 105
Chris Maness
  • 37
  • 1
  • 5

1 Answers1

0

I figured it out with the help of reddit: christophermaness.com/a-problem-with-compiling-a-java-project –

Chris Maness
  • 37
  • 1
  • 5