Google App Engine Eclipse错误:打开zip文件或JAR清单时出错:/ Applications / eclipse

时间:2021-07-23 15:23:17

I updated to the latest app engine version 1.8.4 and the latest Eclipse plugin for app engine. I am using Eclipse version:

我更新到最新的应用程序引擎版本1.8.4和最新的Eclipse应用程序引擎插件。我正在使用Eclipse版本:

Eclipse Standard/SDK

Eclipse Standard / SDK

Version: Kepler Release

版本:开普勒发布

Build id: 20130614-0229

构建ID:20130614-0229

Google App Engine Java SDK 1.8.4 1.8.4 com.google.appengine.eclipse.sdkbundle.feature.feature.group Google, Inc.

Google App Engine Java SDK 1.8.4 1.8.4 com.google.appengine.eclipse.sdkbundle.feature.feature.group Google,Inc。

Google Plugin for Eclipse 4.2 3.4.0.v201309051717-rel-r42 com.google.gdt.eclipse.suite.e42.feature.feature.group Google, Inc.

适用于Eclipse 4.2的Google插件3.4.0.v201309051717-rel-r42 com.google.gdt.eclipse.suite.e42.feature.feature.group Google,Inc。

When I try to launch my project I get this error. If I switch back to 1.8.1 it works fine. I am using Google Cloud Endpoints, but otherwise nothing too exotic, no Spring, etc.

当我尝试启动我的项目时,我收到此错误。如果我切换回1.8.1它工作正常。我正在使用谷歌云端点,但没有太多的异国情调,没有春天,等等。

Thanks for the help!

谢谢您的帮助!

2 个解决方案

#1


1  

After much deleting and searching around I found I had Eclipse in a folder under Applications called "eclipse keplar", which apparently Eclipse didn't like, so I:

经过大量删除和搜索后,我发现我在Eclipse下的一个文件夹中名为“eclipse keplar”,显然Eclipse不喜欢,所以我:

  1. Uninstalled Google App engine plugin and 1.8.4
  2. 已卸载的Google App引擎插件和1.8.4
  3. Moved the app to a folder called "eclipse".
  4. 将应用程序移动到名为“eclipse”的文件夹。
  5. Started eclipse, re-installed the plugin and 1.8.4
  6. 启动eclipse,重新安装插件和1.8.4
  7. Restart eclipse, delete the debug configuration.
  8. 重启eclipse,删除调试配置。
  9. It worked!
  10. 有效!

So I think there might be a bug in the plugin that assumes, on a Mac at least, Eclipse lives in /Applications/eclipse.

所以我认为插件中可能存在一个错误,假设至少在Mac上,Eclipse存在于/ Applications / eclipse中。

Good luck!

祝你好运!

#2


0  

Did your Eclipse folder had a space in its name ?

您的Eclipse文件夹名称中是否有空格?

Seems it is the same problem mentioned here. Long directory name with spaces.

似乎这是同一个问题。带有空格的长目录名称。

He solved the problem by going to the vm arguments in the run configurations and then putting double quote around parameters that have spaces in them like long directory names. It has solved the problem for me too.

他通过转到运行配置中的vm参数然后在其中包含空格的参数(如长目录名称)附近使用双引号来解决问题。它也解决了我的问题。

#1


1  

After much deleting and searching around I found I had Eclipse in a folder under Applications called "eclipse keplar", which apparently Eclipse didn't like, so I:

经过大量删除和搜索后,我发现我在Eclipse下的一个文件夹中名为“eclipse keplar”,显然Eclipse不喜欢,所以我:

  1. Uninstalled Google App engine plugin and 1.8.4
  2. 已卸载的Google App引擎插件和1.8.4
  3. Moved the app to a folder called "eclipse".
  4. 将应用程序移动到名为“eclipse”的文件夹。
  5. Started eclipse, re-installed the plugin and 1.8.4
  6. 启动eclipse,重新安装插件和1.8.4
  7. Restart eclipse, delete the debug configuration.
  8. 重启eclipse,删除调试配置。
  9. It worked!
  10. 有效!

So I think there might be a bug in the plugin that assumes, on a Mac at least, Eclipse lives in /Applications/eclipse.

所以我认为插件中可能存在一个错误,假设至少在Mac上,Eclipse存在于/ Applications / eclipse中。

Good luck!

祝你好运!

#2


0  

Did your Eclipse folder had a space in its name ?

您的Eclipse文件夹名称中是否有空格?

Seems it is the same problem mentioned here. Long directory name with spaces.

似乎这是同一个问题。带有空格的长目录名称。

He solved the problem by going to the vm arguments in the run configurations and then putting double quote around parameters that have spaces in them like long directory names. It has solved the problem for me too.

他通过转到运行配置中的vm参数然后在其中包含空格的参数(如长目录名称)附近使用双引号来解决问题。它也解决了我的问题。