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-05-08
  • 2021-05-19
  • 2022-12-23
  • 2021-11-30
  • 2021-11-11
  • 2022-01-05
  • 2021-05-05
猜你喜欢
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2022-01-24
相关资源
相似解决方案