This error is displayed when building the war package: warning unmappable characters in encoding gbk. I have added these
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(Compile) {
options.encoding = "UTF-8"
}
[compileJava, compileTestJava].options.encoding = 'UTF-8'`
Modify the bat file in the configuration file set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 , I also changed it but
ringa_lee2017-06-12 09:25:39
Look at the code in the error line
Try setting up the project’s coding in the IDE