boot错误包含org.eclipse.core.runtime包,但不是osgi.bundles的错误

osh3o9ms  于 2021-07-09  发布在  Java
关注(0)|答案(1)|浏览(313)

我尝试安装pydev运行eclipse作为我的普通用户。这失败了,因为出现了无法写入文件系统的错误,所以我以root用户身份重新启动了eclipse,并遵循了通常的步骤:帮助->添加软件。eclipse的这个示例已经有了多年的perl-dev插件,如果这是相关的话。
我在启动eclipse时尝试了“无法获取应用程序服务”错误。
这是在一个运行ubuntu16.04客户操作系统的vm上运行的,该操作系统具有4.15.0-43通用linux内核。

java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK Server VM (build 25.191-b12, mixed mode)

下面是我尝试运行eclipse并运行 ./eclipse -clean ```
!SESSION 2019-02-04 15:40:35.236 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_AU
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.standard.product

!ENTRY org.eclipse.osgi 4 0 2019-02-04 15:40:36.962
!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:78)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

cyvaqqii

cyvaqqii1#

我刚刚重新安装了eclipse并安装了epic和pydev。请注意,Eclipse3.8需要4.5.5的正确pydev站点,而不是默认站点。

相关问题