Unmapped Spring configuration files found. Please configure Spring facet or use 'Create Default ...

idea做springboot項目的時候遇到一個提示:

Unmapped Spring configuration files found.  Please configure Spring facet or use 'Create Default Context' to add one including all unmapped files

這個產生的原因是上圖紅色圈中的文件沒有被springboot管理,這個不處理也沒事,要處理的話見下圖:

按圖示步驟,按照彈框底部英文提示,加入需要springboot管理的文件即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章