首页 > 其他 > 详细

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

时间:2020-02-06 09:42:18      阅读:102      评论:0      收藏:0      [点我收藏+]

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

技术分享图片

参考:

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

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

原文:https://www.cnblogs.com/happyflyingpig/p/12267596.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!