去除[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platfor

来源:互联网 发布:淘宝里实名认证在哪 编辑:程序博客网 时间:2024/05/19 13:14

再使用maven和jetty的时候,如果你不想看到上面的警告,那么你只需要在pom文件添加如下一段代码:

<plugin>    <groupId>org.apache.maven.plugins</groupId>    <artifactId>maven-resources-plugin</artifactId>    <version>2.6</version>    <configuration>        <encoding>UTF-8</encoding>    </configuration></plugin>


0 0