Myeclipse 运行maven控制台中文乱码

需要在pom中的properties中增加一行配置:

<properties>
    <argLine>-Dfile.encoding=UTF-8</argLine>
</properties>

 或者是新增一个环境变量 MAVEN_OPTS :-Xms256m -Xmx512m -Dfile.encoding=UTF-8。

posted @ 2014-11-19 16:54  于辰  阅读(205)  评论(0编辑  收藏  举报