`

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

    博客分类:
  • Java
阅读更多

 

   启动myEclipse时提示以下错误,刚开始以为是操作系统的问题,以前用的是xp,今天换成了win7.后来才发现是路径不对。

 

解决办法:在eclipse\links 目录下,修改指定的MyEclipse的路径。

 

!SESSION 2012-02-15 12:50:45.584 -----------------------------------------------
eclipse.buildId=M20080221-1800
java.version=1.6.0_10
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 -clean

!ENTRY org.eclipse.equinox.app 2012-02-15 12:50:46.965
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2012-02-15 12:50:46.978
!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 2012-02-15 12:50:46.993
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-15 12:50:46.993
!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 2012-02-15 12:50:46.994
!MESSAGE Missing required bundle org.eclipse.draw2d_3.2.0.
!SUBENTRY 2 org.tigris.subversion.subclipse.graph 2 0 2012-02-15 12:50:46.994
!MESSAGE Missing required bundle org.eclipse.gef_3.2.0.

!ENTRY org.eclipse.osgi 2 0 2012-02-15 12:50:46.996
!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 2012-02-15 12:50:46.996
!MESSAGE Bundle update@plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar [141] was not resolved.
!SUBENTRY 2 org.tigris.subversion.subclipse.graph 2 0 2012-02-15 12:50:46.996
!MESSAGE Missing required bundle org.eclipse.draw2d_3.2.0.
!SUBENTRY 2 org.tigris.subversion.subclipse.graph 2 0 2012-02-15 12:50:46.997
!MESSAGE Missing required bundle org.eclipse.gef_3.2.0.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics