首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

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

2012-06-27 
eclipse 启动报错 Ensure that the org.eclipse.core.runtime bundle is resolved从备份的移动硬盘里拷贝

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

从备份的移动硬盘里拷贝出Eclipse 启动报错:

?

?

!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 会自动生成新的配置文件。

?

?

热点排行