Hi all !
I need your help to resolve a conflict between Tapestry and JaxB. The error is :
com.sun.xml.stream.ZephyrParserFactory cannot be cast to org.codehaus.stax2.XMLInputFactory2
I find a way to resolve it, but it is for jetty : http://tynamo.org/tapestry-resteasy+guide
The solution seems to be to add a system properties to declare :
javax.xml.stream.XMLInputFactory = com.ctc.wstx.stax.WstxInputFactory
But i don't know how to do this for Tomcat. I try to do it int he web.xml like :
<env-entry>
<env-entry-name>
javax.xml.stream.XMLInputFactory
</env-entry-name>
<env-entry-value>
com.ctc.wstx.stax.WstxInputFactory
</env-entry-value>
<env-entry-type>
com.ctc.wstx.stax.WstxInputFactory
</env-entry-type>
</env-entry>
without success...
I am also aware for another solution :)
thx for helping me.