为什么eclipse无法启动?它显示配置中的错误日志

时间:2012-08-14 08:32:18

标签: android eclipse launch

我正在使用eclipse 3.7.2来开发Android应用程序......在我从帮助选项卡安装了一个新的更新以及我为代码管理安装了Subversive插件之前,一切正常。

错误如下:

Eclipse error window

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

     !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

那么有人可以帮忙解决这个问题吗?

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

2 个答案:

答案 0 :(得分:2)

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

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

答案 1 :(得分: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/并享受;)
如果错误仍然存​​在,请告诉我