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