mvn clean package 报错:
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ ipay-service ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!
解决办法:在pom.xml中加
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>