【问题标题】:Unexpacting error in eclipse on startup: "Unable to acquire application service"eclipse 启动时出现意外错误:“无法获取应用程序服务”
【发布时间】:2011-07-11 05:56:11
【问题描述】:

这是我尝试在 Ubuntu 10.10 上启动 Eclipse 时从 Eclipse 日志中得到的信息:

  • 我的确切 Eclipse 版本是:由 OP 填写
  • 我用于启动 Eclipse 的 JDK 版本是:由 OP 填写

日志:

!SESSION 2011-07-11 11:25:12.125 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2011-07-11 11:25:14.306
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

您以前是否遇到过该错误,您将如何解决它?

【问题讨论】:

    标签: eclipse ubuntu-10.10


    【解决方案1】:

    如果这类似于bug 223756,则可能与安装 Eclipse 的位置有关。

    您的崩溃可能与只读安装有关吗? (bug 216066, bug 225257)

    是的,这听起来很合理。我的eclipse安装在/opt/eclipse, “普通”用户没有写访问权限..

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-06-11
      • 2018-03-26
      • 1970-01-01
      • 2011-06-02
      • 1970-01-01
      • 2013-08-14
      • 2020-01-03
      • 2016-11-03
      相关资源
      最近更新 更多