我无法从我的 Eclipse 存储库中成功添加和使用这些外部 jar。
org.apache.felix.dependencymanager.annotation-4.0.3
org.apache.felix.dependencymanager.runtime-4.0.2
org.apache.felix.dependencymanager.shell-4.0.3
org.apache.felix.dependencymanager-4.2.0
我在“将文件添加到存储库”窗口中没有收到任何错误:
但是,在单击“完成”按钮后,我会收到一个错误警告弹出窗口。
'Building Workspace' has encountered a problem
Errors occured during the build.
然后,每当我将它们从“可用捆绑包”选项卡添加到“运行要求”选项卡中时,我都会收到以下错误,然后尝试解决“运行要求” (即使我已经添加了所有 jar)。
org.osgi.service.resolver.ResolutionException: Unable to resolve <<INITIAL>> version=null: missing requirement org.apache.felix.dependencymanager
如何成功地将这些 jar 文件添加和使用到我的项目中?
蚀
面向 Web 开发人员的 Eclipse Java EE IDE。
版本:Mars.1 版本 (4.5.1)
内部版本号:20150924-1200
爪哇:
java 版本“1.8.0_60”
Java(TM) SE 运行时环境(构建 1.8.0_60-b27)