Content root is defined for modules “xxx” and “xxx”. Two modules in a project cannot share the same content root.

  1. 错误
    Two modules in a project cannot share the same content root.
    这个错误是怎么解决的:

  2. 先将之前添加在这个项目中的依赖全部删掉

Two modules in a project cannot share the same content root.
Two modules in a project cannot share the same content root.

  1. 然后再重新添加就好了,哈哈哈;
  2. 其实还有一个添加jar包的简单方法;
    Two modules in a project cannot share the same content root.

相关文章:

  • 2021-07-05
  • 2021-07-16
  • 2021-06-23
  • 2021-07-06
  • 2021-04-19
  • 2021-04-22
  • 2021-11-04
  • 2021-04-22
猜你喜欢
  • 2021-11-05
  • 2021-05-13
  • 2021-11-17
  • 2021-06-10
  • 2021-07-06
  • 2021-04-26
  • 2021-04-16
  • 2021-12-23
相关资源
相似解决方案