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

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

    I looked through my dependencies to find version conflicts with woodstox or stax-api.

    Turns out that axis2-transport-http introduced these conflicts.

    If you happen to have this dependency as well, add the following exclusion to your pom dependency that introduced it

    
                
                    org.apache.axis2
                    axis2-transport-http
                
            
    

提交回复
热议问题