0
点赞
收藏
分享

微信扫一扫

Using platform encoding (UTF-8 actually) to copy filtered resources错误

沈芏 2022-03-11 阅读 154

错误

项目在编译的时候,报错:
Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
在这里插入图片描述

配置编码格式为UTF-8

在项目pom.xml中增加如下配置:

<properties>
    <!--编译编码-->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

再次编译运行,不再报错!

举报

相关推荐

0 条评论