Hi ALL~
I would like to share this information with you.
if you using cxf-rt-frontend-jaxws 2.7.4 ,woodstox-core-asl 4.2.0 will
automated added into the dependencies. but if using 2.7.5,woodstox-core-asl
4.2.0 would missed.In Eclipse maven xml editor,It tells me
"woodstox-core-asl:4.2.0(omiited conflict with 4.1.2)".
you need add woodstox-core-asl 4.2.0 in your ws-server project
manually,otherwise following error would occurred when I tried to call the
service:
java.lang.RuntimeException: Cannot create a secure XMLInputFactory
at
org.apache.cxf.staxutils.StaxUtils.createXMLInputFactory(StaxUtils.java:300)
at org.apache.cxf.staxutils.StaxUtils.getXMLInputFactory(StaxUtils.java:255)
at
org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:1346)
I am confused with the message ,what does "omiited conflict with 4.1.2" exactly
mean? why this version is "4.1.2" rather than "4.2.0"?
thanks.
Jack
Jack Chan.
A new Apache-Camel rider.
sina-weibo:@for-each