[ https://issues.apache.org/jira/browse/CASSANDRA-10597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Stupp updated CASSANDRA-10597: ------------------------------------- Reviewer: Robert Stupp > Error: unmappable character for encoding MS949 in ant build-test task. > ---------------------------------------------------------------------- > > Key: CASSANDRA-10597 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10597 > Project: Cassandra > Issue Type: Bug > Components: Tests, Tools > Environment: Windows 7, IntelliJ Idea > Reporter: Jaebin Lee > Priority: Trivial > Labels: beginner, build, easyfix > Fix For: 3.x > > Attachments: trunk-10597.txt > > > While setting up a new Cassandra project, noticed "build-test" ant task fails > due to "unmappable character for encoding MS949". > An addition of encoding="UTF-8" parameter fixed this. > {code:xml} > <javac > debug="true" > debuglevel="${debuglevel}" > destdir="${test.classes}" > includeantruntime="false" > source="${source.version}" > target="${target.version}" > encoding="UTF-8"> > {code} > Error stack trace below: > {noformat} > Compiling 365 source files to ~\workspace\cassandra\build\test\classes > ~\workspace\cassandra\test\unit\org\apache\cassandra\security\CipherFactoryTest.java > (22:37)error: unmappable character for encoding MS949 > 1 error > ~\workspace\cassandra\build.xml:1127: Compile failed; see the compiler error > output for details. > at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1180) > at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:935) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:435) > at org.apache.tools.ant.Target.performTasks(Target.java:456) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) > at org.apache.tools.ant.Project.executeTarget(Project.java:1364) > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1248) > at org.apache.tools.ant.Main.runBuild(Main.java:851) > at org.apache.tools.ant.Main.startAnt(Main.java:235) > at org.apache.tools.ant.Main.start(Main.java:198) > at org.apache.tools.ant.Main.main(Main.java:286) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:30) > ~\workspace\cassandra\build.xml:1127: Compile failed; see the compiler error > output for details. > at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1180) > at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:935) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:435) > at org.apache.tools.ant.Target.performTasks(Target.java:456) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) > at org.apache.tools.ant.Project.executeTarget(Project.java:1364) > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1248) > at org.apache.tools.ant.Main.runBuild(Main.java:851) > at org.apache.tools.ant.Main.startAnt(Main.java:235) > at org.apache.tools.ant.Main.start(Main.java:198) > at org.apache.tools.ant.Main.main(Main.java:286) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:30) > Ant build completed with 4 errors and no warnings in 58s > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)