最近对方系统webservice接口在升级,我们的jar包是用axis打的,但是现在继续用axis时,打包时报错:org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: ./srcom\cpic\wss\propertyInsurance\accidentService\types\SystemInfoReturnType.javaHint: you may have mapped two namespaces with elements of the same name to thepackage name.at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:110at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.1405)。咨询了服务端:他们说SystemInfoReturnType这个字段在两个公共类里是都有的,没问题的。现在就是axis打包一直是这个错误。单用cxf加了个命令-autoNameResolution就可以了,但是jar包结构只有一个包文件夹,和以前有很大差异,所以还是需要用axis。请大家帮助下!
添加回答
举报
0/150
提交
取消