Apache CXF client loads fine in Eclipse but standalone jar throws NullpointerException in WSDLServiceFactory

后端 未结 4 661
旧巷少年郎
旧巷少年郎 2020-12-09 10:11

My goal is to create a Web Service client that runs in a standalone jar with all the dependencies using mvn assembly:single

I generated the client using CXF codegen

4条回答
  •  伪装坚强ぢ
    2020-12-09 10:34

    You should try with the one jar plugin, it let's you create super jars that are clean and totaly self-contained

    http://code.google.com/p/onejar-maven-plugin/

提交回复
热议问题