警告:Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform depende

Posted 2549372994jing

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了警告:Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform depende相关的知识,希望对你有一定的参考价值。

执行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>

 

以上是关于警告:Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform depende的主要内容,如果未能解决你的问题,请参考以下文章

maven工程中警告[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is

Using platform encoding GBK actually to copy filtered reso

解决Maven工程install时[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platfor

Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

No Network Security Config specified, using platform default