启动MyEclipse 出现java.lang.RuntimeException: No application id has been found 解决办法

咋一看,太熟悉了,就去eclipse\links 目录下,发现指定的MyEclipse的路径不对。

突然想起来了,MyEclipse是换地了。

 

MyEclipse里面内置的eclipse找不到MyEclipse路径了,确保MyEclipse根目录在一个英文的文件夹下面,具体修改地址:

 

D:\安装承载\MyEclipse 6.0\eclipse\links\com.genuitec.eclipse.MyEclipse.link

 

具体错粗信息:

 

!SESSION 2010-03-06 09:48:03.984 ----------------------------------------------- eclipse.buildId=M20070921-1145 java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CN Command-line arguments: -os win32 -ws win32 -arch x86

 

!ENTRY org.eclipse.equinox.app 2010-03-06 09:48:07.515 !MESSAGE Product com.genuitec.myeclipse.product.ide could not be found.

 

!ENTRY org.eclipse.osgi 4 0 2010-03-06 09:48:07.546 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: No application id has been found. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236) at org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98) at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112) at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064) at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274) at org.eclipse.equinox.internal.app.Activator.start(Activator.java:54) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340) at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:47) at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)

 

!ENTRY org.eclipse.osgi 2 0 2010-03-06 09:48:07.562 !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: !SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-06 09:48:07.562 !MESSAGE Bundle update@plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar was not resolved. !SUBENTRY 2 org.tigris.subversion.subclipse.graph 2 0 2010-03-06 09:48:07.562 !MESSAGE Missing required bundle org.eclipse.gef_3.2.0. !SUBENTRY 2 org.tigris.subversion.subclipse.graph 2 0 2010-03-06 09:48:07.562 !MESSAGE Missing required bundle org.eclipse.draw2d_3.2.0.

 

!ENTRY org.eclipse.osgi 2 0 2010-03-06 09:48:07.562 !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 2010-03-06 09:48:07.562 !MESSAGE Bundle update@plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar [140] was not resolved. !SUBENTRY 2 org.tigris.subversion.subclipse.graph 2 0 2010-03-06 09:48:07.562 !MESSAGE Missing required bundle org.eclipse.draw2d_3.2.0. !SUBENTRY 2 org.tigris.subversion.subclipse.graph 2 0 2010-03-06 09:48:07.562 !MESSAGE Missing required bundle org.eclipse.gef_3.2.0.

 

原因:安装时安装在中文目录下了。

解决方法:安装在英文目录下即可!

复制的时候,与之前的路径不一样,修改D:\安装承载\MyEclipse 6.0\eclipse\links\com.genuitec.eclipse.MyEclipse.link为当前目录即可

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值