Content root is defined for modules “xxx” and “xxx”. Two modules in a project cannot share the same content root.
- 錯誤 這個錯誤是怎麼解決的:
Two modules in a project cannot share the same content root.Content root is defined for modules “xxx” and “xxx”. Two modules in a project cannot share the same content root. - 先将之前添加在這個項目中的依賴全部删掉
- 然後再重新添加就好了,哈哈哈;
- 其實還有一個添加jar包的簡單方法;
Two modules in a project cannot share the same content root.Content root is defined for modules “xxx” and “xxx”. Two modules in a project cannot share the same content root.