eclipse产品调用导致java.lang.RuntimeException:未找到应用程序标识 [英] eclipse product invocation causes java.lang.RuntimeException: No application id has been found

查看:217
本文介绍了eclipse产品调用导致java.lang.RuntimeException:未找到应用程序标识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我点击启动Eclipse应用程序按钮,我刚刚导出了一个正常工作的产品。如果尝试执行导出的产品,我在启动时遇到以下异常:

I just exported a product that is working nicely if I hit the "Launch an Eclipse application" button. If try to execute the exported product, I get following exception on the startup:

!SESSION 2012-03-16 17:28:21.206 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2012-03-16 17:28:22.184
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

在我出口产品之前,我执行了依赖性很好。你有什么问题吗?谢谢!

Just before I exported the product, I performed a validation of the dependencies and it was fine. Do you have a clue what is going wrong? Thank you!

推荐答案

通常我会寻找以下内容:

Normally, I would look for the following:


  • 您不会在启动配置中使用与产品配置中完全相同的插件集。没有可用的比较工具。

  • 您有一个自定义的 config.ini 文件,没有为产品。

  • you are not exporting the exact same set of plug-ins in your product configuration as used in the launch configuration. There are no tools available for the compare.
  • you have a custom config.ini file that does not define the proper application for the product.

这篇关于eclipse产品调用导致java.lang.RuntimeException:未找到应用程序标识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆