且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使cxf-xjc-plugin在utf-8中生成源

更新时间:2021-07-05 01:00:17

我可以通过将以下条目添加到xsdOption元素中,使cxf-xjc-plugin在UTF-8中生成源:

I could make cxf-xjc-plugin generate sources in UTF-8 by adding the following entry to the xsdOption element:

<extensionArgs>
    <arg>-encoding</arg>
    <arg>UTF-8</arg>
</extensionArgs>