CXF 2.7.1 Tomcat web service client: “Cannot create a secure XMLInputFactory”

来源:互联网 发布:农村淘宝网 编辑:程序博客网 时间:2024/06/06 02:42

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.

就是如此爽快啊,简单暴力,







阅读全文
0 0
原创粉丝点击