eclipse启动失败java.lang.RuntimeException: No application id has been found.

    系统是XP的时候,安装了MyEclipse(D:\Program Files (x86)\MyEclipse 5.5.1 GA\eclipse)。操作系统升级到Win7后,仅仅是将MyEclipse 5.5.1 GA目录拷贝了,并没有重新安装。

    今天,开打eclipse.exe时报错,查看.log日志,

!SESSION 2014-09-01 08:20:51.015 -----------------------------------------------
eclipse.buildId=M20070212-1330
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.runtime 2014-09-01 08:20:52.532
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2014-09-01 08:20:52.545
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
 at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
 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:585)
 at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
 at org.eclipse.core.launcher.Main.run(Main.java:977)
 at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2014-09-01 08:20:52.574
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-09-01 08:20:52.574
!MESSAGE Bundle update@plugins/com.android.ide.eclipse.adt_8.0.0.v201011171904-77661.jar was not resolved.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.575
!MESSAGE Missing required bundle org.eclipse.wst.xml.ui_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.575
!MESSAGE Missing required bundle org.eclipse.wst.sse.ui_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.575
!MESSAGE Missing required bundle org.eclipse.wst.sse.core_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.575
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.575
!MESSAGE Missing required bundle org.eclipse.wst.xml.core_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2014-09-01 08:20:52.576
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-09-01 08:20:52.577
!MESSAGE Bundle update@plugins/com.android.ide.eclipse.adt_8.0.0.v201011171904-77661.jar [4] was not resolved.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.577
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.577
!MESSAGE Missing required bundle org.eclipse.wst.sse.core_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.577
!MESSAGE Missing required bundle org.eclipse.wst.sse.ui_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.577
!MESSAGE Missing required bundle org.eclipse.wst.xml.core_0.0.0.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2014-09-01 08:20:52.577
!MESSAGE Missing required bundle org.eclipse.wst.xml.ui_0.0.0.

解决办法:修改links\com.genuitec.eclipse.MyEclipse.link文件中的path即可,

将path=D:\\Program Files\\MyEclipse 5.5.1 GA\\myeclipse

修改为

path=D:\\Program Files (x86)\\MyEclipse 5.5.1 GA\\myeclipse
即可,目的是找到eclipse所使用到的myeclise目录。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

pony12

助力1000篇OpenDDS文

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值