Hi Boban,

I guess the AWS SDK is not importing these packages so they are not
visible.
Of course it can not really import the packages as it does not know what is
behind the API.

There is one thing you can try though. Add the com.ctc.wstx.* packages to
org.osgi.framework.bootdelegation in config.properties.

Best
Christian

2018-02-13 16:32 GMT+01:00 bobanbp <boba...@gmail.com>:

> 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
>



-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Reply via email to