idea导入项目报错:Unmapped Spring configuration files found

今天在导入项目进入IDEA后,Event Log提示“Unmapped Spring configuration files found.Please configure Spring facet or use 'Create Default Contet' to add one including all unmapped files.”

主要原因就是spring的配置文件没有被引入进来

1.引入配置文件

2、可以在module中看到项目中添加进来了spring,继续添加配置文件

选择所有

重启就ok了

发布了469 篇原创文章 · 获赞 94 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/qq_37909508/article/details/101615558