Q: My test is not running and the console only tells me Main class aQute.launcher.Launcher could not be loaded. What could be the reason.

A: This is usually the case if you have a invalid run configuration. Try resolving you run config and resolve the issues here. Don’t forget to add the ${junit} and ${mockito} entries in the runbundles afterwards if you are using bnd 3.4 or older.

Advertisements

Q: A previously working .bndrun suddenly stops working with a message like: No associated cnf project found.

A: Open the eclipse Debug or Run Confiurations and delete the corresponding launchconfig. Afterwards go to you .bndrun and start it again.