Maven:
settings–>Build -> Build Tools ->Maven -> Runner
在VM Options 里添加
-Dfile.encoding=GBK
Gradle:
点击 help->edit custom vm options 然后加上
-Dfile.encoding=utf-8
重启一下就好了
重启很重要!!!!
Maven:
settings–>Build -> Build Tools ->Maven -> Runner
在VM Options 里添加
-Dfile.encoding=GBK
Gradle:
点击 help->edit custom vm options 然后加上
-Dfile.encoding=utf-8
重启一下就好了
重启很重要!!!!