1. 程式人生 > >IDEA匯入或開啟專案時出現的問題:Unmapped Spring configuration files found.

IDEA匯入或開啟專案時出現的問題:Unmapped Spring configuration files found.

Event Log提示“Unmapped Spring configuration files found.Please configure Spring facet.” 

這個提示不影響工程正常執行。原因是web工程中的spring配置檔案沒有被IDEA所管理,解決這個問題也很簡單,只需要2步操作即可:

1.“Ctrl+Shift+Alt+S”開啟project的配置介面,選擇“Modules”頁籤,再選擇報“Unmapped Spring configuration files found.”的Module,點選“+”按鈕;

2.在彈出的視窗內,全部勾選Unmapped的Spring配置檔案,點選“確定”,然後在父介面中點選“應用”或“確定”完成儲存。