Org.osgi.framework.BundleException:Could not resolve Module:org.eclipse.equinox.console
Description of the log displayed when the run configurations is performed in eclipse:
! ENTRY org.eclipse.equinox.console 4 0 2016-11-20 18:20:00.145! Message frameworkevent ERROR! STACK 0 Org.osgi.framework.BundleException:Could not resolve module:org.eclipse.equinox.console [8] unresolved require Ment:import-package:org.apache.felix.service.command; Version= "0.8.0"; Status= "provisional" at Org.eclipse.osgi.container.Module.start (module.java:434) at Org.eclipse.osgi.container.Mo Dulecontainer$containerstartlevel.incstartlevel (modulecontainer.java:1582) at Org.eclipse.osgi.container.modulecontainer$containerstartlevel.incstartlevel (ModuleContainer.java:1562) at Org.eclipse.osgi.container.modulecontainer$containerstartlevel.docontainerstartlevel (ModuleContainer.java:1533 ) at Org.eclipse.osgi.container.modulecontainer$containerstartlevel.dispatchevent (ModuleContainer.java:1476) at or G.eclipse.osgi.container.modulecontainer$containerstartlevel.dispatchevent (modulecontainer.java:1) at Org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEVent (eventmanager.java:230) at Org.eclipse.osgi.framework.eventmgr.eventmanager$eventthread.run ( eventmanager.java:340)
The reason is:
This is because the default shell of Eclipse has been moved to "Apache Felix Gogo"; So the necessary bundles must is added to the "Run Configuration" before running. Followings are the four bundled the need to select from the list:
Org.apache.felix.gogo.command_0.10.0v<versio N>.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
Workaround:
Run Result: