cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-4739) build failure: error: unmappable character for encoding UTF-8
Date Wed, 09 Jan 2013 05:08:12 GMT

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

Freeman Fang edited comment on CXF-4739 at 1/9/13 5:06 AM:
-----------------------------------------------------------

Hi,

If your default encoding isn't UTF8, you can specify system property  file.encoding as UTF8.
Something like
"mvn clean install -Dfile.encoding=UTF8" to let maven to pick up your encoding. You can also
configure it in MAVEN_OPTS like MAVEN_OPTS=-Dfile.encoding=UTF8

Freeman
                
      was (Author: ffang):
    Hi,

If your default encoding isn't UTF-8, you can specify system property  file.encoding as UTF-8.
Something like
"mvn clean install -Dfile.encoding=UTF-8" to let maven to pick up your encoding. You can also
configure it in MAVEN_OPTS like MAVEN_OPTS=-Dfile.encoding=UTF-8

Freeman
                  
> build failure: error: unmappable character for encoding UTF-8
> -------------------------------------------------------------
>
>                 Key: CXF-4739
>                 URL: https://issues.apache.org/jira/browse/CXF-4739
>             Project: CXF
>          Issue Type: Improvement
>          Components: Build system
>    Affects Versions: 2.7.2
>         Environment: $ mvn --version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 17:44:56+0900)
> Maven home: E:\Programs\apache-maven-3.0.4
> Java version: 1.7.0_10, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_10\jre
> Default locale: ko_KR, platform encoding: MS949
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> $ java -version
> java version "1.7.0_10"
> Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
>            Reporter: Jin Kwon
>            Priority: Minor
>
> I couldn't build generated sources.
> \api\target\generated\src\main\java\org\apache\cxf\configuration\security\ObjectFactory.java:[5,40]
error: unmappable character for encoding UTF-8
> Each generated sources has something like
> //
> // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
Implementation, vhudson-jaxb-ri-2.1-2
> // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
> // Any modifications to this file will be lost upon recompilation of the source schema.
> // Generated on: 2013.01.09 at 01:19:13 오후 KST
> //
> Which contains some Korean characters.
> $ file target/generated/src/main/java/org/apache/cxf/configuration/security/ObjectFactory.java
> target/generated/src/main/java/org/apache/cxf/configuration/security/ObjectFactory.java:
HTML document, ISO-8859 text, with CRLF line terminators

--
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