I'm attempting to create an Eclipse RCP application for the first time and so am following the Vogella tutorial here: http://www.vogella.com/articles/EclipseRCP/article.html
Per the steps I've created a new Eclipse 4 Application Project using all the default settings, yet when I click on "Launch an Eclipse application" I get an exception. In the error log it lists multiple bundles that could not be resolved and then at the end of the log there is a RuntimeException: No application id has been found.
I have not varied at all from the steps listed in the tutorial/defaults. Any ideas what's going on here?
Shortly after posting, I found the specific magical incantation to fix this.
What you need to do is go to your Run Configurations (Run -> Run Configurations). Select the Plug-ins tab and then hit "Add Required Plug-ins". Apply, then Run, and it should work now.
Interestingly enough, it seems to forget this change with some regularity (bug here) and so you may need to do this often before launching :-(
I added a list of common problems with starting your product to the tutorial mentioned. Find it here: Eclipse RCP checklist for common launch problems
Please note that modifying the launch configuration is the wrong solution, as your application will fail starting after the export.
This may be the result of using a different version of eclipse (not sure). I hadf the same error. When I tried to alter the run config as described, I found no button, checkbox or anything else that stated "Add required plug-ins". What I did find, however, was a drop down list at the top of the plug-ins tab.
Launch with:
Mine was set to option 2. I switched to option 1 and clicked "Apply". The error went away, though the resulting RCP window didn't contain the expected list... but I suspect that's another problem altogether.
I clicked the "Add Required Plug-ins" button but for some reason, it did not solve the "No application id has been found" problem.
What worked for me is the solution found here, which is:
org.eclipse.core.net
org.eclipse.ui.ide.application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With