JBoss 6.1.0 - java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to jav
Maciej Opala
Greenhorn
Joined: Jul 18, 2011
Posts: 23
posted
0
Hi,
When I deploy in JBoss 6.1.0 my web application packed in an ear archive I obtain the following error in logs:
I do some xml processing just after the context of application gets initialized. I guess that this error has something in common with the content of WEB-INF/lib directory of the ear which is:
I was trying removing both stax-api-1.0.1.jar and geronimo-stax-api_1.0_spec-1.0.jar but then new exception occurred:
Really no idea what to do. Any help would be greatly appreciated..
which solved the problem finally. It seems strange because same war with mentioned libs was deployed well on JBoss 4.2.3GA. Any explanation? I agree with servlet api, will also remove it.