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 的错误行
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("[email protected]","...");
}
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 reddit 的帮助下解决了这个问题:christophermaness.com/a-problem-with-compiling-a-java-project –
I figured it out with the help of reddit: christophermaness.com/a-problem-with-compiling-a-java-project –