当前位置: 代码迷 >> Eclipse >> eclipse 启动报错 Ensure that the org.eclipse.core.runtime bundle is resolved
  详细解决方案

eclipse 启动报错 Ensure that the org.eclipse.core.runtime bundle is resolved

热度:1053   发布时间:2016-04-23 02:06:15.0
eclipse 起动报错 Ensure that the org.eclipse.core.runtime bundle is resolved

转自:http://www.daimami.com/eclipse/415486.html

?

eclipse 启动报错 Ensure that the org.eclipse.core.runtime bundle is resolved

?

?

!ENTRY org.eclipse.osgi 4 0 2012-05-04 14:45:47.608!MESSAGE Application error!STACK 1java.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:369)	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:619)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

?

?

造成原因:原来的IDE是在windows XP下进行的。配置信息与windows7 不一样。此次移植到win7下进行开发。

?

解决办法:

1. 删除configuration 目录

2. 新建config.ini 文件

? ? 将以下内容拷贝进去:

?

?

osgi.splashPath = platform:/base/plugins/org.eclipse.platformosgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@starteclipse.product=org.eclipse.sdk.ideosgi.instance.area.default=@user.home/workspaceeof=eof

?3. 重新启动eclipse 会自动生成新的配置文件。

  相关解决方案