Bundle fails with message (osgi.wiring.package=org.apache.cxf.transport.common.gzip)(version>=2.7.0)(!(version>=3.0.0))

Solution Verified - Updated -

Issue

  • Receiving below error
Unresolved constraint in bundle xxx.yyy.zzz.CommonService [274]: Unable to resolve 274.0: missing requirement [274.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.cxf.transport.common.gzip)(version>=2.7.0)(!(version>=3.0.0)))
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
    at java.lang.Thread.run(Thread.java:745)
  • We are trying to migrate an application from Red Hat JBoss Fuse 6.1 to 6.2. However, it accused the error as above. The error does not occur in version 6.1.
  • We found as a reference to the problem at https://access.redhat.com/solutions/1758553. However, workaround has no expected effect. Displays the following error in the log
22:35:50,186 | ERROR | ExtenderThread-1 | ContextLoaderListener            | 174 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=xxx.yyy.zzz.CommonService, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [unmarshal]
Offending resource: URL [bundle://281.0:0/META-INF/spring/CommonRoutes.xml]

Environment

  • Red Hat JBoss Fuse
    • 6.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content