命令: xjc -p 包的路径 xsd的名字.xsd -d 目标的文件夹 具体详细见: http://www.iteye.com/topic/1118082 转载于:https://www.cnblogs.com/demonrain/p/4969564.html