Solution:
Add the following codes in the pom file:
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties>
Add the following codes in the pom file:
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties>