我在Eclipse中安装了Bndtools,并试用了它们的快速教程:http://bndtools.org/tutorial.html
但只要我想通过"Run OSGi“按钮启动一个非常简单的组件,我就会收到一个启动错误提示:
Status ERROR: bndtools.core code=0 At least one of the required parameters could not be detected; specify an override. Detected: osgi.native;osgi.native.osname:List<String>="null";osgi.native.osversion:Version=null;osgi.native.processor:List<String>="x86-64,amd64,em64t,x86_64", for cmd: native_capability, arguments; [native_capability] null
Status WARNING: bndtools.core code=0 No translation found for macro: native_capability, in org.example.impls nullApache Felix Gogo在某些配置下使用OSGi框架运行设置启动,但错误仍然存在。我在Eclipse Kepler和Lunar以及JDK7和8上尝试过。
我不知道如何处理这个错误和警告。似乎有些地方遗漏了什么。有人知道如何解决这个问题吗?提前感谢!
发布于 2014-07-30 15:53:58
我以前没有见过这个错误。您是否选择了OSGi框架和执行环境。在运行配置中?
https://stackoverflow.com/questions/25016396
复制相似问题