【问题标题】:How to install FAB in ServiceMix 4.5.2如何在 ServiceMix 4.5.2 中安装 FAB
【发布时间】:2014-09-22 02:37:14
【问题描述】:

我尝试在 servicemix 4.5.2 中安装 FAB。当我尝试添加以下功能时

mvn:org.fusesource.fuse/fuse-fuse/7.0.1.fuse-084/xml/features,我得到了以下异常

Could not add Feature Repository:
java.lang.RuntimeException: URL [mvn:org.fusesource.fuse/fuse-fuse/7.0.1.fuse-084/xml/features] could not be resolved.
Please verify that the feature repository URL is correct and that your network connection works fine.

然后按照建议,我在 etc/org.ops4j.pax.url.mvn.cfg 中添加了 repo repo.fusesource.com/nexus/content/groups/public。但是没有好事发生。

我从 Fabric8 features:addUrl mvn:io.fabric8/fabric8-karaf/1.1.0.CR5/xml/features 添加了该功能,并且添加成功。但是当我安装结构功能时,它会抛出异常

karaf@root> features:install fabric-bundle
Error executing command: Can not resolve feature:
Unsatisfied requirement(s):
     ---------------------------
   package:(&(package=jline)(version>=2.11.0)(!(version>=3.0.0)))
      Fabric8 :: FAB (deprecated) :: OSGi
   package:(&(package=org.apache.karaf.shell.console)(version>=2.3.0)(!(version>=3.0.0)))
      Fabric8 :: FAB (deprecated) :: OSGi
   package:(&(package=org.apache.felix.fileinstall)(version>=3.3.0)(!(version>=4.0.0)))
      Fabric8 :: FAB (deprecated) :: OSGi

【问题讨论】:

    标签: apache-karaf jbossfuse apache-servicemix floating-action-button


    【解决方案1】:

    您不能在 ServiceMix 中安装 FAB。

    FAB 是 JBoss Fuse 的一部分,您应该将 JBoss Fuse 与 FAB 一起使用。

    请注意 FAB 在 JBoss Fuse 6.2 及更高版本(fabric8 1.1 及更高版本)中已被弃用。见

    FAB 正在被 OSGi 解析器取代

    【讨论】:

      猜你喜欢
      • 2013-10-25
      • 2013-07-15
      • 2021-02-02
      • 2017-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-01
      • 1970-01-01
      相关资源
      最近更新 更多