解决Eclipse进行OSGI调试时出现Could not find bundle: org.eclipse.equinox.console的问题
2017-10-24 22:08
771 查看
故障现象
Eclipse下OSGi开发,运行测试时,程序直接报错,堆栈信息显示:Could not find bundle: org.eclipse.equinox.console解决办法
参考资料 : stackoverflowThis 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.jar
- org.apache.felix.gogo.runtime_0.10.0v.jar
- org.apache.felix.gogo.shell_0.10.0v.jar
- org.eclipse.equinox.console_1.0.100.jar
解释说明:
根据 stackoverflow 上的解释是:Eclipse下默认的shell已经迁移到“Apache Felix Gogo”之下,所以在OSGi开发时的bundles在执行时,必须在“Run Configuration”中添加必要的依赖bundles,以下4项是必须的:
org.apache.felix.gogo.command_0.10.0v.jar
org.apache.felix.gogo.runtime_0.10.0v.jar
org.apache.felix.gogo.shell_0.10.0v.jar
org.eclipse.equinox.console_1.0.100.jar
所以,“Run Configuration”–> “Bundles” –> “Target Platform” –> 勾选以上4个依赖bundles
就OK了
相关文章推荐
- eclipse 调试时出现!MESSAGE Could not find bundle: org.eclipse.equinox.console解决办法
- eclipse 调试时出现!MESSAGE Could not find bundle: org.eclipse.equinox.console解决方法
- eclipse 调试时出现!MESSAGE Could not find bundle: org.eclipse.equinox.console解决办法
- eclipse 调试时出现!MESSAGE Could not find bundle: org.eclipse.equinox.console解决办法
- eclipse 调试时出现!MESSAGE Could not find bundle: org.eclipse.equinox.console解决办法
- org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console错误解决办法
- eclipse中 Could not find bundle: org.eclipse.equinox.console 问题解决办法
- eclipse中出现问题 Could not find bundle: org.eclipse.equinox.console
- 【OSGi】Could not find bundle: org.eclipse.equinox.console问题
- OSGi Bundle Hello World 出现 Could not find bundle: org.eclipse.equinox.console的解决方案
- eclipse字体 osgi错误Could not find bundle: org.eclipse.equinox.console
- 【OSGi】Could not find bundle: org.eclipse.equinox.console
- !MESSAGE Could not find bundle: org.eclipse.equinox.console的解决
- org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.console
- Could not find bundle: org.eclipse.equinox.console
- Could not find bundle: org.eclipse.equinox.console
- 如何解决 X-code5.0中的iOS7.0SDK运行程序时,出现的以下问题:“Could not find a storyboard named 'Main' in bundle NSBundle”
- 访问Storm ui界面,出现org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts ["master" "slave1"]. Did you specify a valid list of nimbus hosts for confi的问题解决(图文详解)
- 访问Storm ui界面,出现org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts ["master"]. Did you specify a valid list of nimbus hosts for confi的问题解决(图文详解)
- 搭建OSGI环境常见错误 Could not resolve module: org.eclipse.equinox.console