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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM