error: package com.google.gdata.client.appsforyourdomain.audit does not exist

error: package com.google.gdata.client.appsforyourdomain.audit does not exist

我通常会在网上找到我所有问题的答案,而且通常在 Whosebug 中找到答案,但到目前为止我在这个问题上失败了,它触发了我在这个论坛中的第一个问题...所以请耐心等待:

我是第一次尝试使用 google's email audit API。代码片段中引用的导入是

import com.google.gdata.client.appsforyourdomain.audit.AuditService;
import com.google.gdata.data.appsforyourdomain.generic.GenericEntry;
import com.google.gdata.client.appsforyourdomain.audit.MailMonitor;

我找不到要添加到我的代码中的库 (jar),因此无法编译,因为找不到这些 类。

我发现这个 link 用于下载审核 java 库,但是当我按下实际下载时,它转到一个页面说 "No library available"。

我还找到了一个 gdata-appsforyourdomain-1。0.jar 但它也不包含上述 类。

Whosebug 中还有一些其他问题*与我的问题有些相关,但那里的答案并没有帮助我解决问题。

对于我遗漏的问题,我将不胜感激。

谢谢!!

*抱歉,我无法添加问题的链接,因为我的 stacoverflow 声誉很低 - 新手 - 所以只能 post 2 个链接

使用 Maven Repository 搜索:http://mvnrepository.com/artifact/com.google.gdata/core/1.47.1