Hello,
i currently have a dependency to stax-api :
<dependency>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
<version>1.0-2</version>
</dependency>
I use the class javax.xml.stream.XMLEventWriter.
When i launch my application through TomEE, the choosed implementation of
this class is org.codehaus.stax2.ri.Stax2EventWriterImpl (from the
stax2-api) whereas i want to use the implementation form the stax-api
library.
I try to force the loading of stax-api (in the system.properties file ) :
openejb.classloader.forced-load = stax-api
but i still have to problem.
Thanks in advance for your help :-)
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/force-using-stax-api-over-stax2-api-tp4671020.html
Sent from the TomEE Users mailing list archive at Nabble.com.