cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn Dashorst (JIRA)" <>
Subject [jira] [Commented] (CXF-2450) WSDL2java uses system encoding when generating java classes
Date Tue, 17 Jul 2012 13:43:34 GMT


Martijn Dashorst commented on CXF-2450:

Another way to solve this issue (at least for us):

export MAVEN_OPTS=-Dfile.encoding=UTF8

> WSDL2java uses system encoding when generating java classes
> -----------------------------------------------------------
>                 Key: CXF-2450
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.3
>            Reporter: Mads Jensen
>            Assignee: Daniel Kulp
>             Fix For: 2.5.4, 2.6.1
> When using wsdl2java java classes are created in default encoding(for instance MacRoman).
But when we afterwards try to compile these classes in UTF-8 special chars in java comments
resolves in compliations error
> [INFO] Compilation failure
> /url/to/file/[31,18] unmappable character for encoding UTF-8
> We would like somehow to specify which encoding wsdl2java should use when generating
java classes. We can't seem to find this property.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message