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

Previous Post Next Post

Footer