简体   繁体   English

无法在 Eclipse 插件“Google Cloud Tools for Eclipse”中创建项目

[英]Failed to create project in Eclipse plugin "Google Cloud Tools for Eclipse"

Anyone faced this error in the Eclipse plugin "Project is not enabled for Cloud Dataflow".任何人都在 Eclipse 插件“未为 Cloud Dataflow 启用项目”中遇到此错误。 I am trying to create a new dataflow project, provided "Account" & "Cloud Platform Project ID" and it tries to validate for a few secs by stating "Verifying that project is enabled for dataflow...".我正在尝试创建一个新的数据流项目,提供“帐户”和“云平台项目 ID”,并尝试通过说明“验证该项目已启用数据流...”来验证几秒钟。 After that, it shows the above error.之后,它显示上述错误。

在此处输入图片说明

I have gone through https://cloud.google.com/eclipse/docs/quickstart-dataflow and tried Point #3, but no luck.我已经浏览了https://cloud.google.com/eclipse/docs/quickstart-dataflow并尝试了第 3 点,但没有运气。 Am I missing something?我错过了什么吗?

I've followed the Documentation you shared, and it works with a clean setup of Eclipse on Windows 10.我遵循了您共享的文档,它可以在 Windows 10 上使用干净的 Eclipse 设置。

I'll point out the key elements that you must be aware in two parts.我将分两部分指出您必须了解的关键要素。

First for the setup:首先是设置:

  1. Enable your billing . 启用您的计费 Select your project and go to the Billing section.选择您的项目并转到“结算”部分。
  2. Enable the APIs required you can do this by clicking the button of "Enable the APIS" in the third point. 启用所需的 API您可以通过单击第三点中的“启用 APIS”按钮来执行此操作。 You'll have to select your project and once your APIs are enabled you'll receive a confirmation message.您必须选择您的项目,一旦您的 API 启用,您将收到一条确认消息。
  3. Install the Java JDK version 1.8 or later.安装 Java JDK 1.8 或更高版本。
  4. Install Eclipse IDE for Java EE Developers , version 4.7 or later安装Eclipse IDE for Java EE Developers 4.7 或更高版本
  5. Install the plugin .安装插件 In Help > Eclipse Marketplace... and search for Google Cloud.在帮助 > Eclipse Marketplace... 中搜索 Google Cloud。 (You'll have to restart Eclipse after the installation) (安装后必须重新启动 Eclipse)

At restart Eclipse will Install a couple of more libraries, so give it a few minutes to finish... A pop up message appears telling you this.重新启动时 Eclipse 将安装更多的库,因此请给它几分钟的时间来完成...会出现一条弹出消息告诉您这一点。

To create a DataFlow project, follow carefully the creation guide in the documentation .要创建 DataFlow 项目,请仔细遵循文档中的创建指南。 If you mirror the configuration for testing it works.如果您镜像配置以进行测试,则它可以工作。

  1. Sing in your account.在您的帐户中唱歌。
  2. Select the project ID where you enabled the APIs.选择您启用 API 的项目 ID。
  3. Select or create the bucket you are going to use.选择或创建您要使用的存储桶。 I created the bucket before creating the project from the Web Console.我在从 Web 控制台创建项目之前创建了存储桶。
  4. You need a Service account key in a json file.您需要一个 json 文件中的服务帐户密钥。 You need a Service account key in json format.您需要一个 json 格式的服务帐户密钥。 To create one go to the IAM & admin section, and under Service Accounts create one and download the key in a json file.要创建一个,请转到 IAM 和管理部分,然后在服务帐户下创建一个并将密钥下载到 json 文件中。

Once done this you click create, and that's it for the creation of the project.完成此操作后,您单击创建,这就是创建项目的步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么Eclipse的Google Cloud Tools插件会显示“未找到项目”? - Why does Google Cloud Tools Plugin for Eclipse say “No Projects Found”? 专案无法在Eclipse的Google云端工具上启动 - Project won't launch on Google Cloud Tools for Eclipse Google Cloud Tools for Eclipse用于GcsFilename的ClassNotFoundException - Google Cloud Tools for Eclipse ClassNotFoundException for GcsFilename 用于Eclipse控制台的Google Cloud Tools中的字符损坏 - Character corruption in the Google Cloud Tools for Eclipse Console 以编程方式创建插件Eclipse项目 - Create Plugin Eclipse project programmatically 尽快迁移到用于Eclipse的Cloud Tools和/或GWT Eclipse插件以避免中断。 - Migrate to Cloud Tools for Eclipse and/or the GWT Eclipse Plugin as soon as possible to avoid disruption For this MAVEN is Mandatory ? 使用Google Eclipse插件干扰Google Cloud Endpoints - Method interference in Google Cloud Endpoints with Google Eclipse Plugin 无法在项目后端执行目标 com.google.cloud.tools:appengine-maven-plugin:2.3.0:run (default-cli) - Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:2.3.0:run (default-cli) on project backend Eclipse插件中的Phantom项目 - Phantom project in an Eclipse plugin Eclipse在项目中集成插件 - Eclipse integrating plugin in project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM