【问题标题】:Hi There, I am new to use JBOSS Fuse, i have download the zip file and extracted it . But its not working at all您好,我是使用 JBOSS Fuse 的新手,我已经下载了 zip 文件并将其解压缩。但它根本不起作用
【发布时间】:2020-01-17 10:22:47
【问题描述】:
ERROR: Bundle io.fabric8.fabric-zookeeper [53] Error starting mvn:io.fabric8/fabric-zookeeper/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-zookeeper [53]: Unable to resolve 53.0: missing requirement [53.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-zookeeper [53]: Unable to resolve 53.0: missing requirement [53.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0)))
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle jackson-mapper-asl [54] Error starting mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.12 (org.osgi.framework.BundleException: Unresolved constraint in bundle jackson-mapper-asl [54]: Unable to resolve 54.0: missing requirement [54.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.datatype))
org.osgi.framework.BundleException: Unresolved constraint in bundle jackson-mapper-asl [54]: Unable to resolve 54.0: missing requirement [54.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.datatype)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
  8% [=====>                                                                  ]ERROR: Bundle org.apache.servicemix.bundles.jasypt [56] Error starting mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jasypt/1.9.1_1 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jasypt [56]: Unable to resolve 56.0: missing requirement [56.0] osgi.wiring.package; (osgi.wiring.package=javax.crypto))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jasypt [56]: Unable to resolve 56.0: missing requirement [56.0] osgi.wiring.package; (osgi.wiring.package=javax.crypto)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
 11% [=======>                                                                ]ERROR: Bundle org.fusesource.insight.insight-log [59] Error starting mvn:org.fusesource.insight/insight-log/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.fusesource.insight.insight-log [59]: Unable to resolve 59.0: missing requirement [59.0] osgi.wiring.package; (osgi.wiring.package=javax.management))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.fusesource.insight.insight-log [59]: Unable to resolve 59.0: missing requirement [59.0] osgi.wiring.package; (osgi.wiring.package=javax.management)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle io.fabric8.fabric-agent [60] Error starting mvn:io.fabric8/fabric-agent/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-agent [60]: Unable to resolve 60.0: missing requirement [60.0] osgi.wiring.package; (&(osgi.wiring.package=io.fabric8.api)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 62.0: missing requirement [62.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers)])
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-agent [60]: Unable to resolve 60.0: missing requirement [60.0] osgi.wiring.package; (&(osgi.wiring.package=io.fabric8.api)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 62.0: missing requirement [62.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers)]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle scala-library [61] Error starting mvn:com.weiglewilczek.scala-lang-osgi/scala-library/2.9.1 (org.osgi.framework.BundleException: Unresolved constraint in bundle scala-library [61]: Unable to resolve 61.0: missing requirement [61.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers))
org.osgi.framework.BundleException: Unresolved constraint in bundle scala-library [61]: Unable to resolve 61.0: missing requirement [61.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle io.fabric8.fabric-api [62] Error starting mvn:io.fabric8/fabric-api/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-api [62]: Unable to resolve 62.0: missing requirement [62.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers))
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-api [62]: Unable to resolve 62.0: missing requirement [62.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle io.fabric8.fabric-boot-commands [63] Error starting mvn:io.fabric8/fabric-boot-commands/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-boot-commands [63]: Unable to resolve 63.0: missing requirement [63.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-boot-commands [63]: Unable to resolve 63.0: missing requirement [63.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0)))
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle org.apache.servicemix.bundles.jsch [64] Error starting mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsch/0.1.49_1 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jsch [64]: Unable to resolve 64.0: missing requirement [64.0] osgi.wiring.package; (osgi.wiring.package=javax.crypto))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jsch [64]: Unable to resolve 64.0: missing requirement [64.0] osgi.wiring.package; (osgi.wiring.package=javax.crypto)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle io.fabric8.fabric-core [65] Error starting mvn:io.fabric8/fabric-core/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-core [65]: Unable to resolve 65.0: missing requirement [65.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-core [65]: Unable to resolve 65.0: missing requirement [65.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0)))
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle io.fabric8.fabric-commands [66] Error starting mvn:io.fabric8/fabric-commands/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-commands [66]: Unable to resolve 66.0: missing requirement [66.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-commands [66]: Unable to resolve 66.0: missing requirement [66.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=15.0.0)(!(version>=16.0.0)))
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle io.fabric8.fabric-configadmin [67] Error starting mvn:io.fabric8/fabric-configadmin/1.0.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-configadmin [67]: Unable to resolve 67.0: missing requirement [67.0] osgi.wiring.package; (&(osgi.wiring.package=io.fabric8.api)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 62.0: missing requirement [62.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers)])
org.osgi.framework.BundleException: Unresolved constraint in bundle io.fabric8.fabric-configadmin [67]: Unable to resolve 67.0: missing requirement [67.0] osgi.wiring.package; (&(osgi.wiring.package=io.fabric8.api)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve 62.0: missing requirement [62.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers)]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)
ERROR: Bundle org.jboss.fuse.esb-commands [68] Error starting mvn:org.jboss.fuse/esb-commands/6.1.0.redhat-379 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.jboss.fuse.esb-commands [68]: Unable to resolve 68.0: missing requirement [68.0] osgi.wiring.package; (osgi.wiring.package=javax.security.auth))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.jboss.fuse.esb-commands [68]: Unable to resolve 68.0: missing requirement [68.0] osgi.wiring.package; (osgi.wiring.package=javax.security.auth)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:748)

【问题讨论】:

  • 6.1.0.GA 是非常老的版本。但是missing requirement [62.0] osgi.wiring.package; (osgi.wiring.package=javax.xml.parsers) 建议您使用一些奇怪的 JDK 版本来运行它。你用的是哪个java版本?
  • JDK 1.7 @Grzegorz Grzybek
  • @Campiotti 我在 user.properties 文件中有一个书面的 admin=admin,admin 仍然遇到同样的错误。我在 Windows 10 上使用它并尝试使用命令“bin\start.bat”启动 JBoss fuse。
  • 你确定你安装的是 JDK 而不是 JRE?

标签: jboss jbossfuse


【解决方案1】:

使用 redhat fuse 6.x 将与 java 6 和 java 7 完美结合,但不稳定或无法与 java 8 一起使用。 虽然我建议使用带有 Java 8 的 redhat fuse 7.x,因为它现在更稳定且受支持。 https://developer.jboss.org/thread/250544

【讨论】:

    【解决方案2】:

    这是因为您正在使用的 jboss fuse 版本。如果版本是 6.1,则必须使用 java 6 或 java 7。如果使用更高版本,则会出现此错误。

    您可以使用下载的保险丝搜索兼容版本。请检查

    fuse安装文件夹中的etc/jre.properties。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-05-28
      • 2020-03-08
      • 1970-01-01
      • 2015-09-13
      • 2015-05-05
      • 1970-01-01
      • 2023-04-05
      相关资源
      最近更新 更多