Module “*” must not contain source root *. The root already belongs to module “*”.

一般是因为项目存在多个模块,且模块之间有包含关系

解决:打开Project Structure===》modeles ===》将非项目名的model删除===》OK===》重新运行

你可能感兴趣的:(Module “*” must not contain source root *. The root already belongs to module “*”.)