【问题标题】:Websphere OSGi: Declarative ServicesWebsphere OSGi:声明式服务
【发布时间】: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 不支持具有所有功能的声明式服务...

标签: websphere osgi


【解决方案1】:

您的选择是使用Blueprint,或者升级到WebSphere 8.5.5 和Liberty profile。 8.5.5 允许您extend the runtime with user features 可以使用声明式服务。

【讨论】:

    猜你喜欢
    • 2012-04-27
    • 2013-10-09
    • 2018-05-20
    • 1970-01-01
    • 2011-09-03
    • 1970-01-01
    • 1970-01-01
    • 2011-10-14
    • 1970-01-01
    相关资源
    最近更新 更多