IDEA运行Main报错Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (default-cli) on project education: Command execution failed. 1、一般是由于出现中文乱码的原因,最直接有效的方法是配置运行类VM options: -Dfile.encoding=UTF-8 2、还不行的话试试别的配置 -Dfile.encoding=UTF-8