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

前端 未结 17 1659
礼貌的吻别
礼貌的吻别 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 10:00

    I had the same problem whenI upgraded CXF to 2.7.x. I resolved this by adding following dependencies in POM

    
        org.codehaus.woodstox
        stax2-api
        4.0.0
    
    
        org.codehaus.woodstox
        woodstox-core-asl
        4.4.1
    
    

提交回复
热议问题