Hi,

I believe this is caused by other stax impl was loaded first, check if there's 
any other stax impl in container class loader.
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋



On 2013-9-16, at 下午6:39, Darko Androcec wrote:

> Hi Freeman,
> 
> I added all .jar libraries from apache-cfx lib directory into my web 
> application project, including woodstox-core-asl-4.2.0.jar. I have used the 
> same libraries in Java console and web application. However, console 
> application works, while web application broke with 
> org.apache.cxf.service.factory.ServiceConstructionException: Failed to create 
> service.
> 
> Darko
> 
> On 16.9.2013. 11:48, Freeman Fang wrote:
>> Hi,
>> 
>> You need have woodstox 4.2.0 on your class path, which can provide a secure 
>> XMLInputFactory
>> -------------
>> Freeman(Yue) Fang
>> 
>> 
> 

Reply via email to