IDEA编译报以下错误
File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
解决方法:在pom中增加以下配置
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>