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

时间:2020-01-20 00:39:38   收藏:0   阅读:193

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

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

原文:https://www.cnblogs.com/zhf123/p/12216011.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!