maven 编译警告:
Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!K actually) to copy filtered resources, i.e. build is platform dependent!
解决办法,在pom中加入“project.build.sourceEncoding”:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>