1.命令: 将xsd文件放到filepath路径下,在cmd命令行中输入 xjc -p filepath a.xsd -d abc 其中: abc是生成新的文件名