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

https://blog.csdn.net/rankgo/article/details/90448654

出现这个问题的原因是,

parant目录不能放src的code

找到你父project的Sourece Folders,看看是不是把子module的加载进来了。删掉就好。

 

 

 

posted @ 2021-05-17 10:29  疯子110  阅读(854)  评论(0编辑  收藏  举报