1、進入Edit Configrations image.png 2艾蓝、加在VM中 image.png 注意 正確運行方式: image.png 錯誤運行方式: image.png 不太清楚idea的機制,第二種運行方式會重新再生成一個默認的Configrations辩块,所以用第一種比較保險