Eclipse comes with the equinox of OSGi and examines the OSGi environment of Eclipse:
Run-->run Configuration-->osgi framework--> Right-click New
Select Org.eclipse.osgi when selecting Bundles. Click Run.
Error occurred: org.osgi.framework.bundleexception: could not find bundle: org.eclipse.equinox.console at Org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle (consolemanager.java:211) at org.eclipse.core.runtime.adaptor.eclipsestarter.startup ( eclipsestarter.java:297) at Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:176)  AT SUN.REFLECT.NATIVEMETHODACCESSORIMPL.INVOKE0 (Native method) at sun.reflect.nativemethodaccessorimpl.invoke (unknown source) at sun.reflect.delegatingmethodaccessorimpl.invoke (unknown source) at java.lang.reflect.method.invoke (unknown source) at org.eclipse.equinOx.launcher.Main.invokeFramework (main.java:629) at Org.eclipse.equinox.launcher.Main.basicRun (main.java:584) at Org.eclipse.equinox.launcher.Main.run (main.java:1438) at Org.eclipse.equinox.launcher.Main.main (main.java:1414) Solutions:
At that time, because of the dependencies between OSGi builds, to use org.eclipse.equinox.console must have an OSGi build that it relies on, so when debugging, you choose the OSGi build that you wrote. Org.apache.felix.gogo.command Org.apache.felix.gogo.runtime Org.apache.felix.gogo.shell Org.eclipse.equinox.console
Problem Resolution: Command line appears osgi>