[ERROR][idea報錯]Unmapped Spring configuration files found.

idea啓動Event Log提示:

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

原因是web工程中的spring配置文件沒有被IDEA所管理,找到project structure-modules,選擇spring,將下面的文件打勾-ok-apply。

但是在保存的時候又提示:

Content root "/home/dake/mina/mina/conf" is defined for modules "crawl-transfer" and "mina-base".
Two modules in a project cannot share the same content root.

通過請教解決:不用idea管理spring配置,web工程本地沒法跑

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