[英]eclipse product launching with manual export but not with tycho build no application id has been found dependency leaf issue
[英]“No application id has been found” after running eclipse RCP application
我正在将一个RCP应用程序从eclipse 3(Indigo)迁移到eclipse 4(Mars)。 我已经解决了所有与依赖项相关的问题。 但是我无法使用“启动eclipse应用程序”启动产品文件。
错误是:
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:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
如果我去Run - > Run Configuration - > Add Required Plugins并从那里运行应用程序。 该应用程序运行。
任何人都可以告诉我,点击“添加所需的插件”按钮(AFAIK,它即时选择这些插件),存储这些新添加的插件的设置或输入的位置? 因为从“启动eclipse应用程序”再次运行应用程序后。 它没有开始。 我犯了同样的错误。 如何为下一次构建保留新添加的插件列表(来自“启动eclipse应用程序”)
即使在从Run Configuration添加所需的插件之后,我也遇到了与非持久插件相同的问题。
用户Dan Nick在这里修复了这个问题: https : //stackoverflow.com/a/16011871/5005462
从本质上讲,似乎还需要在产品依赖项选项卡上添加必需的插件。 完成此操作后,从产品概述选项卡中单击“启动Eclipse应用程序”,应用程序成功启动。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.