Java 禁止未授权访问此源

Java 禁止未授权访问此源,java,gdata-api,Java,Gdata Api,我想用java编程创建一个网站。但它包含如下错误: Exception in thread "main" com.google.gdata.util.ServiceForbiddenException: Forbidden Not authorized to access this feed at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:561) at c

我想用java编程创建一个网站。但它包含如下错误:

Exception in thread "main" com.google.gdata.util.ServiceForbiddenException: Forbidden
Not authorized to access this feed

 at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:561)
 at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
 at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:536)
 at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)
 at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
 at com.google.gdata.client.Service.getFeed(Service.java:1073)
 at com.google.gdata.client.Service.getFeed(Service.java:936)
 at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
 at com.google.gdata.client.Service.getFeed(Service.java:955)
 at lsites.getSiteFeed(lsites.java:25)
 at lsites.main(lsites.java:40)

我想做什么?

这是一个很好的问题-你想做什么?在我们为您提供任何相关答案之前,您必须向我们提供更多关于您试图执行的任务的信息。请使用这3个问题的格式1)您希望实现什么?(例句:我想连接谷歌的联系服务)2)你是怎么做到的?(例:一些代码示例)3)您得到的输出是什么?(在本例中为异常堆栈跟踪)嗨,我开发了一个用于创建google站点的应用程序,参考了开发者指南“”,其中我不知道这一行中的三个参数是什么,siteService client=new siteService(“yourCo-yourAppName-v1”)。这是我的问题。帮助我