IntelliJ IDEA: Only one module opens instead of the entire project
Answered
I have a project in IntelliJ IDEA that contains multiple modules:
Project:
- Module A
- Module B
- Module C
- Module D
When I try to open the entire project (via File -> Open -> myProject), IntelliJ loads only one module, in my case, Module A, instead of opening the whole project with all the modules.
How can I configure IntelliJ IDEA to open the entire project with all its modules?
I’m using IntelliJ IDEA version [IntelliJ IDEA 2024.1.6 (Ultimate Edition)].
Thanks in advance for your help!
Please sign in to leave a comment.
Hi, a configuration may depend on how all these modules are related to each other.
“Project:” - is it just a folder that contains different unrelated modules like frontend/backend/microservices, or do you have a build system like Maven/Gradle added to a root project itself, and configured module dependencies via build files e.g., pom.xml/build.gradle?
An output of ls -R executed from a root folder may help to better understand your case. To make sure that sensitive information is not shared in public please use https://uploads.jetbrains.com/ for uploading details. Do not forget to share an UploadID so I can find it in our system
---
Possible solution:
- File | Close Project
- Close the IDE
- Remove all .iml files from your root project directory, and all modules
- Open a project in the IDE by selecting a root folder