按照标准建立了一个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为项目名