Karaf 4.2.0M2 issue with classpath

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Karaf 4.2.0M2 issue with classpath

I'm migrating our application to the newer version of Karaf and I started
testing our application on karaf 4.2.0M2. Before 4.2.0M2 I performed some
tests on Karaf 4.1.4 and it worked fine, but on 4.2.0M2 I hit an issue. I am
getting the flowing error:

javax.xml.stream.XMLInputFactory: Provider
com.ctc.wstx.stax.WstxInputFactory not found.

It seems that AWS SDK bundle that we use uses package javax.xml.stream from
org.apache.felix.framework that imports
com.fasterxml.woodstox.woodstox-core, but for some reason
com.ctc.wstx.stax.WstxInputFactory is not visible. I am using apache CXF
3.2.0 and it provides woodstox-core bundle.

Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html