解决maven打包编译出现File encoding has not been set, using platform encoding GBK, i.e. build is platform dep


maven打包编译时后台一直输出警告信息

File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!

 解决办法:pom.xml中增加属性即可解决


        UTF-8
    
mvn