73
I am compiling a package using maven and it says build failure with following compilation error:
SpanishTest.java[31, 81] unmappable character for encoding UTF8
I searched online and for many people, changing source encoding from UTF-8 to ISO-8859-1 seems to work but I am still getting same compilation error. I am using 32-bit Ubuntu. Here is how that tag looks in my pom.xml
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
Even if I change <project.build.outputEncoding> tag to ISO-8859-1, I still get the error.Could it be because of java version? I have both-sun java and openjdk installed on my system.
Can anyone please let me know what to do.
Thanks