【发布时间】:2013-06-21 07:12:31
【问题描述】:
我正在尝试在 WebSphere 8 上的 OSGi 企业应用程序中获取一个简单的 osgi 包。在发布过程中出现以下错误:
*Application asset import failed.
CWSAL0015E: 无法解析 EBA 文件。异常:org.apache.aries.application.management.ResolverException:系统无法配置 EBA IbisOSGi,因为在依赖链中检测到以下问题: bundle [...]*
需要的版本大于等于1.1.0的包依赖org.osgi.service.component所需的包位于 WebSphere 服务器的 plugins/osgiapplications/[...]/aries 文件夹中。包在 bundle 的 manifest.mf 文件中声明:
[...]
Import-Package: org.osgi.framework;version="1.5.0",
org.osgi.service.component;version="1.1.0"
[...]
有人有什么建议吗?
【问题讨论】:
-
解决方案:Websphere 8.0 不支持具有所有功能的声明式服务...