intelliJ如何將項目中的src/main/java目錄設置爲源代碼包

項目導入IntelliJ IDEA中後無法使用,提示Package name 'xxxx' does not correspond to the file path 'xxxxxx' 主要是項目Sources Folder配置不對導致 右鍵點擊項目 -> 選擇Open Module Settings 進入Open Module Settings, 選擇Sources, 可以查看到src目錄爲深色,
相關文章
相關標籤/搜索