Catching webservice exception with CXF: NoClassDefFoundError: SOAPFaultBuilder

前端 未结 2 1507
面向向阳花
面向向阳花 2021-01-18 09:20

I\'ve been using Apache CXF wsdl2java generated code to call methods from a webservice for some time now, which so far has been working fine.. The problem I\'m having is tha

2条回答
  •  太阳男子
    2021-01-18 09:56

    Had similar problem when we're switching from Ant to Maven. We use Sun JDK 1.6u20.

    We've missed these libraries in maven-assembled war's:

    jaxws-api jaxws-rt jaxws-tools

    After adding them all works as it had worked before. Hope this will help someone!

提交回复
热议问题