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

前端 未结 17 1735
礼貌的吻别
礼貌的吻别 2020-12-01 09:31

I am wrote and deployed a CXF web service into a Tomcat server using the instructions here. The web service deploys fine as I can see the WSDL file in a web browser.

<
17条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-01 09:52

    I had similar problem

    After adding this -Dorg.apache.cxf.stax.allowInsecureParser=1 to the JAVA_OPTIONS in setDomainEnv.sh, It is working fine now.

提交回复
热议问题