intellij Spring配置提示: File is included in 4 contexts

应该是配置文件Context需放在同一个Application Context下 intellj 自动添加的并没有添加
解决方法:点击项目右键选择Open Moudle Setting 或者 F12 —》打开Project Structure —》 选择Modules -》 选择Spring -》先点减号把之前的都删除掉 -》然后点加号直选点项目 全部添加就好

参考:https://blog.csdn.net/BFInWR/article/details/81015637

posted @ 2020-01-19 23:29  君莫笑我十年游  阅读(1544)  评论(0编辑  收藏  举报