IDEA : Cannot Save Setting ** must not contain source root **. The root already belongs to module **这类错误的解决方法

发布时间 2023-06-26 09:39:35作者: LL077


今天突然碰到这个问题,具体原因是parant目录不能放src的code。
解决方法图片右侧的父project的Sourece Folders,是不是把子模块module或者其他模块加载进来(会标红),删除即可