在运行maven中出现下面的错误时,是因为编码问题
Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
在pom中添加下面的代码
<properties>
<argLine>-Dfile.encoding=UTF-8</argLine>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>