[Solved] TestNg Package Error: Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

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>

Similar Posts: