Intellij-出现Module ** must not contain source root **. The root already belongs to module **这类错误的解决方法

出现这个问题的原因是,多模块Maven项目,parent目录不能不能有src的code。找到parent 的 Source Folders看看是否把module的给加载进来了。删掉就可以了。

参考:

【1】IDEA出现Module ** must not contain source root **. The root already belongs to module **这类错误的解决方法

posted @ 2020-02-06 08:50  寻找风口的猪  阅读(11116)  评论(1编辑  收藏  举报