[Maven]File|[Maven]File encoding has not been set, using platform encoding GBK
编译字符编码警告
问题
运行 mvn compile
控制台输出
[WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!
处理方法
在
pom.xml
文件中添加 properties
标签【[Maven]File|[Maven]File encoding has not been set, using platform encoding GBK】...UTF-8
...
推荐阅读
- 星际无限|星际无限 | 官方推出Filecoin MinerX奖学金计划,吸引中小型Filecoin矿工
- Filecoin挖矿投资报告
- cannot|cannot be read or is not a valid ZIP file
- maven使用tomcat7插件编译jsp出错
- 65|65 - Tips for File Handling
- IDEA使用Maven管理项目包,缺少pom文件中引入的依赖包
- PHP|PHP 扩展开发检测清单(扩展开发必读)
- linux监听蒲公英线程,重启
- Docker-Dockerfile
- Docker|Docker exec 出现 "fork/exec /proc/self/exe: no such file or directory" 问题