RCP開發 問題1則

按照標準建立了一個Plug-in project  模版爲Hello Rcp

然後測試,結果報錯。

java.lang.RuntimeException: Application "simplebrowser.application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.

 

GOOGLE之,結果在http://www.eclipse.org/articles/Article-Branding/branding-your-application.html 找到答案。

Application "..." could not be found in the registry. The applications available are: ...

This is most likely caused by a typo in the application id. If you are using your product's default application then check the application attribute in the product extension. Otherwise check the eclipse.application property in the config.ini file. The value must match the id defined in some application extension.

 

於是在extensions 中把application的 ID由 application 改爲 simplebrowser.application

simplebrowser爲項目名 

發佈了20 篇原創文章 · 獲贊 2 · 訪問量 3萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章