1. 程式人生 > >IDEA錯誤:Cannot start compilation: the output path is not specified for module "firstproject”

IDEA錯誤:Cannot start compilation: the output path is not specified for module "firstproject”

從coding上checkout自己的專案時,沒有將配置檔案一起上傳,所以在執行java程式時有了這個錯誤

解決辦法:

1、File->Project Setting->Modules->勾選 Inherit project compile path”

2、在Project裡Project compiler output選擇專案中out資料夾

再次啟動就好了