eclipse: !MESSAGE Missing required bundle org.eclipse.ui.forms_3.4.1

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
eclipse: !MESSAGE Missing required bundle org.eclipse.ui.forms_3.4.1 eclipse: !MESSAGE Missing required bundle org.eclipse.ui.forms_3.4.1 Reviewed by Edward Legaspi on Thursday, February 11, 2010 Rating: 5

6 comments:

Chris said...

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

java.diablo said...

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

Anonymous said...

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

Anonymous said...

Many thanks for this useful sharing..

Javi said...

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.

Maxime said...

Thanks a lot man, very helpful !

Powered by Blogger.