I had the same problem. I managed to launch my package by creating a new launch configuration and deselecting all the packages, adding my package and then clicking “Add Required Bundles”.
I do not know why this second configuration works and the first does not work, I looked at both .launch files and they are identical.
What seems to be happening is that in one config run all available packages are executed, although only three are selected in gui. If you enter the ss command in the osgi console after all the errors are complete, I get 1182 bundles running for the broken startup configuration, where, since the working configuration just gives me the correct 3.
You should try to create a new launch configuration and see if it sorts it, I don’t know why the new one works for me, but it is so, I hope this helps.
The output of the working ss configuration:
id State Bundle 0 ACTIVE org.eclipse.osgi_3.7.2.dist Fragments=1 1 RESOLVED javax.transaction_1.1.1.v201105210645 Master=0 2 ACTIVE com.javaworld.sample.HelloWorld_1.0.0.qualifier
The last few lines of the broken ss configuration:
1040 ACTIVE org.sonatype.m2e.mavenarchiver_0.15.0.201212080009 1041 ACTIVE org.testng.eclipse_6.8.0.20121120_1820 1042 ACTIVE org.uddi4j_2.0.5.v200805270300 1043 ACTIVE org.w3c.css.sac_1.3.0.v200805290154 1044 ACTIVE org.w3c.dom.smil_1.0.0.v200806040011 1045 ACTIVE org.w3c.dom.svg_1.1.0.v201011041433 1046 ACTIVE org.w3c.sac_1.3.0.v20120213 1155 <<LAZY>> org.eclipse.equinox.simpleconfigurator_1.0.200.dist 1182 <<LAZY>> org.eclipse.equinox.initializer_1.0.0.dist
source share