按照標準建立了一個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爲項目名