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

前端 未结 17 1730
礼貌的吻别
礼貌的吻别 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:57

    In my case there were two jars (Cxf 3.0.1, Jboss 7.1.1)

    javax.xml.stream:stax-api:jar:1.0-2:compile

    org.codehaus.woodstox:stax2-api:jar:3.1.4:compile

    I removed the 1st one and it started working

提交回复
热议问题