How to Fix Missing Required Bundle in Eclipse

What I want to do: To add a reference to the ui.forms plugin so that I can use the eclipse-rcp's FormToolkit object. Problem: I have encountered this problem and spent more than an hour finding a solution so I think it's better to share what I've done. eclipse-rcp's error log: !ENTRY org.eclipse.osgi 2 0 2010-02-11 08:45:23.769 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2010-02-11 08:45:23.769 !MESSAGE Bundle org.irri.cril.jicis.administrator_1.0.0.qualifier [33] was not resolved. !SUBENTRY 2 org.irri.cril.jicis.administrator 2 0 2010-02-11 08:45:23.769 !MESSAGE Missing required bundle org.eclipse.ui.forms_3.4.1. 1.) In the rcp's plugin.xml, Dependencies tab, make sure that an instance of the org.eclipse.ui.forms plugin is added. 2.) In your projects Run Configuration a.) click Run->Run Configurations b.) under Eclipse Applications, select your project c.) in the right panel, click the Plug-ins tab d.) in the lower right panel, click the "Validate Plug-ins", if the org.eclipse.ui.forms is unchecked it will give an error: ->Missing Constraint: Require-Bundle: org.eclipse.ui.forms; bundle-version="3.4.1" e.) to remove this error, in the middle panel just make sure that the plugins used are check, in this case the: org.eclipse.ui.forms

6 Comments

  1. WHat if the bundle does not even show up in that middle panel. I am getting an error that org.eclipse.ui.forms is missing - but I cannot even see it in this panel to check or uncheck? How do I get that bundle added?

    Thanks for the clues though

    ReplyDelete
  2. Man, you are a genius thank you so much. I was breaking my head with that error.

    ReplyDelete
  3. metoo, I had strangely the same missing dependency. Thanks for your help.

    ReplyDelete
  4. Many thanks for this useful sharing..

    ReplyDelete
  5. Hey, you made my day with the tip! I was stuck with it and had no idea about how to go on. Thanks a lot.

    ReplyDelete
  6. Thanks a lot man, very helpful !

    ReplyDelete

Post a Comment

Post a Comment

Previous Post Next Post
NERV Open Source

Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.

Explore NERV on GitHub →