`

启动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.

分享到:
评论

相关推荐

    Myeclipse下java.lang.OutOfMemoryError Java heap space的解决

    通过以上方法,通常可以有效解决Myeclipse下出现的`java.lang.OutOfMemoryError: Java heap space`问题。需要注意的是,在调整JVM参数时应当根据实际情况合理设置,以免造成资源浪费或者性能下降。同时也要持续关注...

    Tomcat启动时报错:java.lang.UnsatisfiedLinkError的解决

    之前tomcat启动老是报错,虽然不影响项目的启动运行,但是有强迫症的程序员会心里不爽: 如下: 问题分析 由于本机安装的jdk版本与tomcat中使用的jdk版本不一致导致的。 解决方法 后面我把原先tomcat启动环境用的...

    java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream解决方法

    JavaMail的java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream错误 原因: MyEclipse6.5的javaee.jar中的mail包与JavaMail包有冲突。 解决: 在MyEclipse目录下(D:\Program Files\MyEclipse ...

    java.lang.OutOfMemoryError: PermGen space及其解决方法

    ### Java.lang.OutOfMemoryError: PermGen space 及其解决方法 #### 一、PermGen space 概述 在Java虚拟机(JVM)中,PermGen space(永久代)是用于存储类的信息、常量、静态变量等数据的区域。在Java 8之前,Perm...

    java.lang.UnsupportedClassVersionError Bad version number in .class file异常的解决办法

    ### java.lang.UnsupportedClassVersionError: Bad version number in .class file 异常的解决办法 #### 一、问题概述 在使用MyEclipse进行Java开发的过程中,可能会遇到`java.lang.UnsupportedClassVersionError:...

    java.lang.NoClassDefFoundError错误解决办法

    "java.lang.NoClassDefFoundError错误解决办法" java.lang.NoClassDefFoundError错误是一种常见的Java错误,它发生在Java虚拟机在编译时能找到合适的类,而在运行时不能找到合适的类导致的错误。下面是该错误的解决...

    An internal error occurred during: java.lang.NullPointerException

    遇到“MyEclipse在启动Tomcat时出现‘An internal error occurred during: "Calculating completion proposals..."’的警告窗口,通常是由于`java.lang.NullPointerException`异常引起的。通过检查项目配置、更新...

    ocijdbc10.rar

    eclipse如何解决no ocijdbc10 in java.library.path错误(ocijdbc9,ocijdbc8); java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path java.library.path 部署 ocijdbc10 Myeclipse 8.5中,web...

    MyEclipse axis2 wsdl java.lang.reflect.invocationtargetexception

    MyEclipse axis2 wsdl java.lang.reflect.invocationtargetexception code gen 大家要注意一定要仔细,这个问题基本上缺少包引起的,而且一定要clean 如果需要axis2插件 以及这个plugins中的包在我的其他资源里面有

    Failed to convert value of type ‘java.lang.String’ to required type ‘java.util.Date’; nested except

    Type 异常报告 消息 Failed to convert ... nested exception is java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'java.util.Date': no matching editors or co

    java.lang.NullPointerException的解决方法

    ### Java.lang.NullPointerException 解决方法详解 在Java开发过程中,`java.lang.NullPointerException`(简称NPE)是一种常见的运行时异常。它发生在试图对空对象执行操作时,例如调用对象的方法或访问其属性等。...

    MyEclipse+SSH错误:java.lang.NoClassDefFoundError orgobjectwebasmCodeVisitor解决

    在Java开发环境中,我们经常会遇到`java.lang.NoClassDefFoundError`这个异常,这是一个运行时错误,通常发生在尝试执行一个包含对某个类的引用,但系统无法找到该类的定义时。在这个特定的问题中,错误涉及到`org....

    MyEclipse-2021.5.24a.rar

    6. **性能优化**:MyEclipse 2021.5.24a在性能上进行了优化,启动速度更快,内存占用更少,同时提供了一套完善的性能分析工具,帮助开发者识别和解决性能瓶颈。 7. **强大的插件系统**:MyEclipse拥有丰富的插件库...

    Myeclipse安装aptana插件后报java.lang.NullPointerException解决方案

    在使用Myeclipse的过程中,不少用户遇到了一个较为常见的问题:安装Aptana插件之后,每次启动Myeclipse时都会出现`java.lang.NullPointerException`异常提示。尽管这一异常并不影响正常的开发工作,但对于追求完美的...

    Mail 错误com/sun/mail/util/LineInputStream。javaee.jar 开发包

    经过研究摸索终于解决了! 该开发包是解决 JavaMail 发送邮件报错:java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream错误 ava.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream ...

    MyEclipse.6.Java.开发中文教程第14章代码

    【标题】:“MyEclipse.6.Java.开发中文教程第14章代码”指的是一个针对MyEclipse 6版本的Java开发教程中的第14章所涉及的源代码示例。这一章节可能深入讲解了如何在MyEclipse环境中使用Java进行Web应用开发,特别是...

    借助Ehcache缓存框架实现对页面的缓存Demo

    信息: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.disk.DiskStore$KeySet. The eventual following stack trace is caused by an error thrown...

    MyEclipse8.x 汉化

    此时,可以尝试清理MyEclipse的缓存,具体操作是关闭MyEclipse,删除.metadata\.plugins\org.eclipse.e4.workbench目录下的workbench.xmi文件,然后再次启动MyEclipse。 5. **检查和调整**:汉化完成后,仔细检查...

Global site tag (gtag.js) - Google Analytics