0
大家好我似乎無法使用Google Finance API登錄到我的帳戶,我不知道爲什麼。這裏是我的代碼Google Finance API的小問題
public static void main (String [ ] args)
{
FinanceService myService = new FinanceService("exampleCo-exampleApp-1");
try
{
myService.setUserCredentials("[email protected]","...");
}
catch (AuthenticationException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
}
這裏是我的錯誤
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)
線55是開出FinanceService
如果這是你的密碼,我建議你立即改變它。不要在本網站上發佈個人信息。 – 2011-01-07 01:11:29