jenkins 使用 maven的pom.xml编译的时候提示 错误: 编码GBK的不可映射字符

来源:互联网 发布:linux中sort命令 编辑:程序博客网 时间:2024/06/04 19:46


经过查看代码,是注释错误;

  ;//中文注释


解决方案:

在pom.xml 里面配置:

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

</properties>


原创粉丝点击