- 链接地址:https://blog.csdn.net/weixin_38023225/article/details/113136237
- 链接标题:File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:3518
文章浏览阅读1.8k次,点赞3次,收藏4次。问题:编译打包(mvn clean install)文件总是为GBK格式,不是UTF-8格式原因分析:使用了默认编码格式GBK解决方案:pom文件添加配置<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties>执行结果:..._file encoding has not been set, using platform encoding gbk, i.e. build is p
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除