Error in OSGi environment configuration

Source: Internet
Author: User

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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.