簡體   English   中英

運行eclipse RCP應用程序后,“找不到應用程序ID”

[英]“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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM