java - Eclipse Java Web 应用程序生成以下错误 - "Generating the api metadata for your cloud endpoints classes"

标签 java eclipse google-app-engine cloud google-cloud-endpoints

当我尝试创建新的 Web 应用程序时,Eclipse 自动给出以下错误:

“为您的 Cloud Endpoints 类生成 API 元数据时出现问题:未知协议(protocol):c”

查了很多地方都没有找到有效的解决办法。

我更改了SDK版本3次。我尝试了 1.9.17 - 1.9.15 - 1.9.13 - 1.9.3 但总是导致相同的错误。

最佳答案

解决方案是 here

  • 右键单击项目
  • 属性-->建筑商
  • 取消选中 Google App Engine 项目 validator 。
  • 然后清理项目。
  • 然后再次检查 Google App Engine 项目 validator 。
  • 然后左键单击该项目,
  • 转到项目-->构建项目。

如果它仍然不起作用,请尝试使用旧版本的 App Engine,例如 1.9.3 及更早版本。

关于java - Eclipse Java Web 应用程序生成以下错误 - "Generating the api metadata for your cloud endpoints classes",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27569348/

相关文章:

java - Eclipse 中每个 GUI 程序都会出现奇怪的错误

java - 如何计算eclipse中基于Java的工具的编译时间

python - 从 Python Google App Engine 连接到 Firebase

java - Lucene - 不需要索引的字符串字段

java - 如何调试我的代码?

java - 创建表格但看不到网格或仅显示背景颜色

java - rangeOrOdd - 如果输入数字在范围内和/或奇数,则返回 1

android - (Cocos2dx-v3) Android - 如何解决 "cocos2d.h: No such file or directory"?

Java:本地应用程序和谷歌应用引擎之间的字符串 UTF-8 编码差异

java - 保护所有 URL 安全约束在 App Engine 标准 java 中不起作用