xfire NamespaceURI cannot be null

来源:互联网 发布:淘宝企业店铺复核吗 编辑:程序博客网 时间:2024/06/13 12:35

xfire NamespaceURI cannot be null

用xfire生成webservice 客户端代码 报错误
 XMLStreamException: xfire NamespaceURI cannot be null.
有两种可能性:
1。 缺少jar包 : wstx-asl.jar      
客户没有将Demo中的wstx-asl.jar     此包引入企业项目中导致报错
2. 自动声称的代码里在不同的包里生成了相同的类。

原创粉丝点击