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:

org.apache.felix.gogo.command_0.10.0v<version>.jar
org.apache.felix.gogo.runtime_0.10.0v<version>.jar
org.apache.felix.gogo.shell_0.10.0v<version>.jar
org.eclipse.equinox.console_1.0.100<version>.jar

enter image description here

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

 

 

http://stackoverflow.com/questions/11161871/org-osgi-framework-bundleexception-could-not-find-bundle-org-eclipse-equinox-c

 

 

Blog: