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)
2条答案
按热度按时间3b6akqbq1#
使用redhatfuse6.x将完美地与java6和java7一起使用,但不稳定或不能与java8一起使用。而我建议在java8中使用redhatfuse7.x,因为它更稳定,现在更受支持。https://developer.jboss.org/thread/250544
ylamdve62#
这是因为您正在使用的jboss fuse的版本。如果版本是6.1,那么您必须使用java 6或java 7。如果您使用的是更高版本,那么您将得到此错误。
您可以通过下载的保险丝查找兼容版本,请检查
etc/jre.properties中的文件夹。