Dr. Faust
Dr. Faust

Reputation: 1021

Eclipse RCP Missing Constraint / Bundle Error

When I try to execute my RCP application from within Eclipse I get the following error message:

com.bah.gs.arts.jekyll.plugins.VideoLog
    Missing Constraint: Required Bundle: com.bah.gs.arts.jekyll.plugins.JVLC_Runtime; bundle-version="0.9.1"

Can someone tell me how I resolve this?

Upvotes: 16

Views: 19809

Answers (2)

gromgull
gromgull

Reputation: 1548

A good trick is also to go into the run configuration dialog in Eclipse, open the Plugins tab and click the "Magic" button "add required bundles", if this marks the window as having unsaved changes you know something was added and it might work :)

Upvotes: 37

VonC
VonC

Reputation: 1324248

From this thread:
You could start by running your RCP application with a launch configuration including the "-console" command: that will offer you the OSGi console in the "Console" view. This only means that OSGi is running.

Should look like this:

OSGi>

If this is available, just type "ss" (for short status) and hit return. This will result in a list with all your bundles including their status. This information would be good to see in order to track down the problem.

You have also the article "Where Is My Bundle" for further informations.


Check also (especially if you cannot do the above, because the application just does not launch itself and only propose you to see the error logs) the plugins dependencies of your product configuration:
is com.bah.gs.arts.jekyll.plugins.JVLC_Runtime displayed there?

It is often related to an export list problem, as illustrated by this thread.

Upvotes: 5

Related Questions