You are here

org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console

When I followed the tutorial Hello, OSGi, Part 1: Bundles for beginners to build and run my first OSGi application, there was the exception in the console: org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console

This is because the default shell of Eclipse has been moved to "Apache Felix Gogo"; so the necessary bundles must be added to the "Run Configuration" before running. Followings are the four bundled that you need to select from the list:


enter image description here

After adding these as shown in the above diagram, the program runs smoothly.