Intellij idea操作maven时控制台中文乱码

只留存记录

 

windows环境下,Intellij idea12中maven操作时,控制台中文乱码问题(编译报错或者clean install时出现的其他错误描述乱码)

在cmd中mvn中文正常显示,log4j打印日志也是ok的。

解决方法:

Setting->maven->runner

         VMoptions: -Dfile.encoding=GB2312

 

posted on 2017-06-07 23:00  沐雨橙风丶  阅读(10142)  评论(0编辑  收藏  举报