java.lang.Exception: Could not start bundle mvn:com.xxx/xxxapi in feature(s) xxx-0.0.0: Unresolved constraint in bundle com.xxx.xxx-api [406]: Unable to resolve 406.0: missing requirement [406.0] osgi.wiring.package; (osgi.wiring.package=org.jboss.resteasy.plugins.providers.multipart)

Stack Overflow | Jose | 3 months ago
  1. 0

    missing requirement osgi dependency resteasy multipart

    Stack Overflow | 3 months ago | Jose
    java.lang.Exception: Could not start bundle mvn:com.xxx/xxxapi in feature(s) xxx-0.0.0: Unresolved constraint in bundle com.xxx.xxx-api [406]: Unable to resolve 406.0: missing requirement [406.0] osgi.wiring.package; (osgi.wiring.package=org.jboss.resteasy.plugins.providers.multipart)
  2. 0

    Karaf - User - Problem/Error installing cellar-webconsole

    nabble.com | 7 months ago
    java.lang.Exception: Could not start bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.webconsole/2.2.5 in feature(s) cellar-webconsole-2.2.5: Unresolved constraint in bundle org.apache.karaf.cellar.webconsole [94]: Unable to resolve 94.0: missing requirement [94.0] package; (&(package=org.apache.felix.webconsole)(version>=3.1.0)(!(version>=4.0.0)))
  3. 0

    [Camel-users] Problem when starting camel-cxf in karaf - Grokbase

    grokbase.com | 12 months ago
    java.lang.Exception: Could not start bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saaj-impl/1.3.2_1 in feature(s) camel-cxf-2.6.0: Unresolved constraint in bundle org.apache.servicemix.bundles.saaj-impl [97]: Unable to resolve 97.0: missing requirement [97.0] package; (package=com.sun.org.apache.xerces.internal.dom)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    feature:install hawtio failed with missing wiring package

    GitHub | 2 years ago | peterberkman
    java.lang.Exception: Could not start bundle mvn:io.hawt/hawtio-karaf-terminal/1.4.19/war in feature(s) hawtio-karaf-terminal-1.4.19: Unresolved constraint in bundle io.hawt.hawtio-karaf-terminal [243]: Unable to resolve 243.0: missing requirement [243.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.karaf.shell.console.jline)(version>=2.2.0)(!(version>=4.0.0)))
  6. 0

    ServiceMix - User - [SMX 5.0.1] Unable to resolve bundle revision because it is exposed to package 'org.springframework.transaction' via two dependency chains

    nabble.com | 11 months ago
    java.lang.Exception: Could not start bundle mvn:com.test.data/datasource-service/1.0.0-SNAPSHOT in feature(s) datasource-service-1.0.0-SNAPSHOT: Unresolved constraint in bundle com.test.data.datasource-service [217]: Unable to resolve 217.0: missing requirement [217.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.transaction)(version>=4.0.2.RELESE))
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.osgi.framework.BundleException

    Unresolved constraint in bundle com.xxx-api [406]: Unable to resolve 406.0: missing requirement [406.0] osgi.wiring.package; (osgi.wiring.package=org.jboss.resteasy.plugins.providers.multipart)

    at org.apache.felix.framework.Felix.resolveBundleRevision()
  2. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)[org.apache.felix.framework-4.0.3.jar:]
    2. org.apache.felix.framework.Felix.startBundle(Felix.java:1868)[org.apache.felix.framework-4.0.3.jar:]
    3. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)[org.apache.felix.framework-4.0.3.jar:]
    4. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)[org.apache.felix.framework-4.0.3.jar:]
    4 frames
  3. Pax Runner
    FeaturesServiceImpl.installFeature
    1. org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:479)[49:org.apache.karaf.features.core:2.3.1]
    2. org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:396)[49:org.apache.karaf.features.core:2.3.1]
    3. org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:392)[49:org.apache.karaf.features.core:2.3.1]
    3 frames
  4. Fabric8
    FeaturesCommandSupport.doExecute
    1. org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[34:org.apache.karaf.features.command:2.3.1]
    2. org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[34:org.apache.karaf.features.command:2.3.1]
    2 frames
  5. Apache Karaf :: Shell :: Console
    AbstractCommand.execute
    1. org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[23:org.apache.karaf.shell.console:2.3.1]
    2. org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[23:org.apache.karaf.shell.console:2.3.1]
    2 frames
  6. Apache Felix Gogo Runtime
    CommandSessionImpl.execute
    1. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[23:org.apache.karaf.shell.console:2.3.1]
    2. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[23:org.apache.karaf.shell.console:2.3.1]
    3. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[23:org.apache.karaf.shell.console:2.3.1]
    4. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[23:org.apache.karaf.shell.console:2.3.1]
    5. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[23:org.apache.karaf.shell.console:2.3.1]
    6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[23:org.apache.karaf.shell.console:2.3.1]
    7. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[23:org.apache.karaf.shell.console:2.3.1]
    7 frames
  7. Apache Karaf :: Shell :: Console
    Console.run
    1. org.apache.karaf.shell.console.jline.Console.run(Console.java:174)[23:org.apache.karaf.shell.console:2.3.1]
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[:1.7.0_80]
    1 frame