javaeclipse-rcpe4

Eclipse e4 - Missing Constraint: Require-Capability: osgi.extender


When running my eclipse e4 application it shows that problems have been detected when validating.

Missing Constraint

This can be fixed by going to run configurations and selecting Add Required Plug-ins but this is more of a work around then a fix.

I've tried changing the versions and adding/removing plugins but can't figure out how to solve these errors.

A similar issue is mentioned here.

What could be causing this?


Solution

  • I managed to find the missing plugins by comparing my run configuration before and after clicking Add Required Plug-ins.

    There were 5 plugins missing that clicking Add Required Plug-ins in the product file didn't add.

    org.apache.felix.scr
    org.eclipse.equinox.event
    org.eclipse.compare.core
    org.eclipse.fx.osgi
    org.eclipse.team.core
    

    After adding these plug-ins to the product file and manifest the missing constraints problem was resolved.