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

前端 未结 17 1681
礼貌的吻别
礼貌的吻别 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条回答
  •  萌比男神i
    2020-12-01 10:05

    There was not an answer here that describes the root cause of this error message for my issue. We had transitive dependencies on both a new version woodstox-core-asl-4.2.0.jar and and old wstx-asl-3.2.1.jar

    Excluding the old version from our build did the trick.

    If you dig into the bowels of the old version, you'll find that it fails with an exception that ends up getting wrapped in another exception with this generic message that is not very informative.

提交回复
热议问题