Also, i get errors about XMLInputFactory not being found.
First it complains com.bea.* oneafter which I added a system property to
OSGi runtime to set it to Jersey's wstx library one. But I get this
exception:
javax.xml.stream.FactoryConfigurationError: Provider
com.ctc.wstx.stax.WstxInputFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:120)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
at
org.apache.abdera.parser.stax.util.FOMSniffingInputStream.detectEncoding(FOMSniffingInputStream.java:46)
at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.<init>(CharsetSniffingInputStream.java:117)
at
org.apache.abdera.i18n.text.io.CharsetSniffingInputStream.<init>(CharsetSniffingInputStream.java:106)
at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:102)
at org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:66)
at
com.sun.jersey.atom.abdera.impl.provider.entity.FeedProvider.readFrom(FeedProvider.java:88)
at
com.sun.jersey.atom.abdera.impl.provider.entity.FeedProvider.readFrom(FeedProvider.java:61)
at
com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:259)
at
com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:220)
I tried using this class (org.codehaus.stax2.XMLInputFactory2) as
XMLInputFactory, but result was the same exception.
.aRi
--
View this message in context: http://n2.nabble.com/Abdera-Feeds-not-usable-in-Eclipse-OSGi-tp3472905p3485603.html
Sent from the Jersey mailing list archive at Nabble.com.