javax.xml.bind.UnmarshalException in CXF

前端 未结 2 1411
陌清茗
陌清茗 2020-12-21 13:28

I got the below exception in apache-cxf-3.1.2 and tried a lot to resolve it and did not get any positive help, So planned and upgraded to the latest version

2条回答
  •  清歌不尽
    2020-12-21 13:33

    Looks like you have WS-Discovery turned on. This is done by placing cxf-services-ws-discovery-service and cxf-services-ws-discovery-api in the classpath. Remove these from your classpath (e.g. from maven pom.xml) and you should no longer see the error messages.

提交回复
热议问题