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管理的文件即可