web service client: “Cannot create a secure XMLInputFactory” 这个问题查了整整一天在百度,什么缺包,包冲突,统统都检查了一边。然而,,,,,,
还是google准确,一次性解决问题,
贴出解决办法:https://stackoverflow.com/questions/20114945/cxf-web-service-client-cannot-create-a-secure-xmlinputfactory
After adding this -Dorg.apache.cxf.stax.allowInsecureParser=1
to the JAVA_OPTIONS
in setDomainEnv.sh
, It is working fine now.
就是如此爽快啊,简单暴力,