2

我正在使用 eclipse 3.7.2 来开发 Android 应用程序……直到我从帮助选项卡安装了新的更新并安装了用于代码管理的 Subversive 插件之前,一切都运行良好。

错误如下:

Eclipse 错误窗口

我打开了上面路径中提到的错误文件,但我猜不出丢失的文件是什么,该文件包含以下内容:

     !SESSION 2012-08-14 11:23:27.945 -----------------------------------------------
     eclipse.buildId=M20120208-0800
     java.version=1.6.0_30
     java.vendor=Sun Microsystems Inc.
     BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
     Framework arguments:  -product org.eclipse.epp.package.java.product
     Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

      !ENTRY org.eclipse.osgi 2 0 2012-08-14 11:23:28.945
      !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
      !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945
      !MESSAGE Bundle  reference:file:plugins/org.eclipse.ui.navigator.resources_3.4.300.v20110928-1505.jar was  not resolved.
      !SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2012-08-14 11:23:28.945
      !MESSAGE Missing required bundle org.eclipse.jface_[3.6.0,4.0.0).
      !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945
      !MESSAGE Bundle reference:file:plugins/org.eclipse.compare.win32_1.0.200.I20110510-0800.jar was not resolved.
       !SUBENTRY 2 org.eclipse.compare.win32 2 0 2012-08-14 11:23:28.945
       !MESSAGE Missing required bundle org.eclipse.jface_[3.5.0,4.0.0).
          !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945
       !MESSAGE Bundle reference:file:plugins/org.eclipse.ui.workbench_3.7.1.v20120104-1859.jar was not resolved.
       !SUBENTRY 2 org.eclipse.ui.workbench 2 0 2012-08-14 11:23:28.945
       !MESSAGE Missing required bundle org.eclipse.jface_[3.5.0,4.0.0).
       !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945
       !MESSAGE Bundle reference:file:plugins/org.eclipse.mylyn.commons.ui_3.7.1.v20120425-0100.jar was not resolved.
        !SUBENTRY 2 org.eclipse.mylyn.commons.ui 2 0 2012-08-14 11:23:28.945
        !MESSAGE Missing required bundle org.eclipse.jface_0.0.0.
        !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945
        !MESSAGE Bundle reference:file:plugins/org.eclipse.mylyn.commons.notifications_0.9.1.v20120412-0100.jar was not resolved.



          ...etc etc

那么有人可以帮忙吗?

提前感谢您的帮助和感谢。

4

2 回答 2

2

检查插件org.eclipse.jface。它似乎是一个旧版本。插件抱怨是因为它们需要 3.5+ 或 3.6+ 版本。

您可以使用 Eclipse 插件注册表视图来检查插件或 OSGI 控制台。查看我之前为类似问题所做的答案,以了解有关控制台的更多详细信息。

于 2012-08-14T09:29:27.777 回答
2

好的,如果您不想重新安装(实际上重置似乎更正确)eclipse然后下载
org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar
org.eclipse.jface.text_3.7.2.v20111213-1208.jar

org.eclipse.jface_3.7.0.v20110928-1505.jar

并将它们放入eclipse_installed_directory/plugins/并享受;)
如果错误仍然出现,请告诉我

于 2012-08-14T11:50:33.820 回答