【发布时间】:2014-04-16 07:20:49
【问题描述】:
我的问题是:
在使用 xjc 命令编译 WSDL 文件以生成 java 对象时,出现控制台错误...
parsing a schema...
compiling a schema...
[ERROR] A class/interface with the same name "com.saico.ws.dto.PERSONinfodata" is already in use. Use a class customization to resolve this conflict.
line 23 of file:/D:/WSDL/TESTService.wsdl
[ERROR] (Relevant to above error) another "Personinfodata" is generated from here.
line 29 of file:/D:/WSDL/TESTService.wsdl
[ERROR] This error is caused because on Windows you cannot have both "Personinfodata.java" and "PERSONinfodata.java" in the same directory.
unknown location
Failed to produce code.
应用命令:-> D:\WSDL>xjc -wsdl -p com.saico.ws.dto MOCService.wsdl
任何帮助将不胜感激,几天以来我一直在努力解决它。提前谢谢..
如果需要,我会附上 WSDL 文件。
【问题讨论】:
标签: java xml web-services soap wsdl