IDEA提⽰UnmappedSpringconfigurationfilesfound
Unmapped Spring configuration files found. Please configure Spring facet or use 'Create Default Context' to add one including all unmapped files. house (4 files) Create Default Context
原因是Spring是⾃⼰下载的然后放在项⽬⾥的,⾮项⽬创建时或通过idea添加的,因此idea检测到缺少spring的配置⽂件
解决:project structure中的facts中,点击绿⾊加号添加spring。也可以根据Idea提⽰的⽅式直接点击create default context。重启
记住我
发布评论