[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工程本地没法跑

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