启动时eclipse中出现无法解决的错误:“无法获取应用程序服务”

时间:2011-07-11 05:56:11

标签: eclipse ubuntu-10.10

以下是我在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)

您之前是否看到过该错误,以及如何排查错误?

1 个答案:

答案 0 :(得分:1)

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

  
    

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

  
     

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