执行Maven Install打包的时候,提示以下警告信息:
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
解决方法:在在pom.xml文件中的<project>中添加<properties>标签:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
转载于:https://blog.51cto.com/14150615/2340405