cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Horal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4369) cxf-xjc-plugin generated unmappable characters using system encoding
Date Sat, 15 Dec 2012 08:28:12 GMT

    [ https://issues.apache.org/jira/browse/CXF-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532968#comment-13532968
] 

Pavel Horal commented on CXF-4369:
----------------------------------

Just faced this issue in our project. This is pretty regular and annoying bug I think. 

XSD files have their encoding within the file itself (and it is UTF-8 in our case) and Java
sources are UTF-8 by the spec. So where exactly does the custom encoding (either user specified
or inherited from OS) come in place? What am I missing?
                
> cxf-xjc-plugin generated unmappable characters using system encoding
> --------------------------------------------------------------------
>
>                 Key: CXF-4369
>                 URL: https://issues.apache.org/jira/browse/CXF-4369
>             Project: CXF
>          Issue Type: Bug
>         Environment: jdk 1.7 ,  windows 7 , camel-soap 2.10-SNAPSHOT , cxf-xjc-plugin
2.6.0
>            Reporter: Liu Jianhong
>            Assignee: Freeman Fang
>
> In camel source,when I buid "camel-soap" component, it genrates unmappable characters
and build failed,the error information as following,and I checked the document for cxf-xjc-plugin,
I not found any solution:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile
(default-compile) on project camel-soap:
> Compilation failure: Compilation failure:
> [ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
> .java:[5,40] 错误: 编码UTF-8的不可映射字符
> [ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
> .java:[5,41] 错误: 编码UTF-8的不可映射字符

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message