tags:

views:

244

answers:

1

When building my Eclipse RCP Application, I get the following error.

The type org.eclipse.core.runtime.IConfigurationElement cannot be resolved. It is indirectly referenced from required .class files.

I have included the org.eclipse.core.runtime library in my dependencies, so I am not sure what the problem is.

+1  A: 

As mentioned in this thread

Don't include the jar files manually [in the plugin.xml file). Use the dependencies tab in your plugin.xml editor to manage the dependencies on the plugins.

Here is the graphical illustration of what that means:

alt text

Double-click on the MANIFEST.MF file, and through the 'Dependencies' tab, just add org.eclipse.core.runtime, and it will add other dependencies, including org.eclipse.equinox.registry, which includes your missing class!

VonC