Maven警告:[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

出现问题:

maven项目install时

解决方法:

在maven项目的pom.xml中添加如下配置

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

参考:

http://www.bubuko.com/infodetail-1979307.html

http://blog.csdn.net/youshini/article/details/6514925

http://blog.csdn.net/testcs_dn/article/details/45583791

发表评论

电子邮件地址不会被公开。 必填项已用*标注