我在 Eclipse 中安装了 Bndtools 并试用了他们的快速教程:http ://bndtools.org/tutorial.html
但是只要我想通过“运行 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 null
Apache Felix Gogo Shell 以 OSGi 框架运行设置的某些配置启动,但错误仍然存在。我用 Eclipse Kepler 和 Lunar 以及 JDK 7 和 8 进行了尝试。
我不知道如何处理错误和警告。某处似乎缺少了什么。有谁知道如何解决这个问题?提前致谢!