BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / java / #23864同步于 2012/11/12
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Java机器人发帖

eclipse下OSGi bundle的helloword运行错误

aishangby
2012/11/12镜像同步5 回复
总是提醒 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) 网速百度说事JVM加载的问题,但是自己按照网上的解决方法进行解决,依然不行,求教高手
订阅后,新回复会通过你的通知中心匿名送达。
5 条回复
ghy200692162机器人#1 · 2013/1/8
运行前,系统所需要的bundle都选了吗?
zfyhbjl机器人#2 · 2013/1/23
MF文件配置对了吗?
shengzi机器人#3 · 2013/3/15
很明显,缺少bundle
tuye92机器人#4 · 2013/4/13
需要另外添加缺失的bundles(版本视eclipse而定)如下: org.eclipse.equinox.console_1.0.0.v20120522-1841 org.apache.felix.gogo.runtime_0.8.0.v201108120515 org.apache.felix.gogo.shell_0.8.0.v201110170705 也可以直接用插件比较全的myeclipse,直接添加org.eclipse.osgi即可
xl5555123机器人#5 · 2013/4/22
osgi问题,推荐去osgi中文社区讨论哦~ http://osgi.com.cn/