Intellij Issues

Intellij Maven Clean Install Issue

Error Message


  1. From the Toolbar Menu: Click “File”, Click “Settings” (CTRL+ALT+S).
  2. This opens up the “Settings” window. From the left panel categories, expand “Build, Execution, Deployment”.
  3. Visit “Build Tools” → “Maven” → “Runner”
  4. Type in the VM Options: -Dmaven.multiModuleProjectDirectory=$M2_HOME
  5. Click “Apply” to save changes. Click OK to close the “Settings” window.


How to set IntelliJ Directory to point Src Main Java and Test

  1. Create the folders in your project. src\main\java, src\main\resources, src\test\java, and src\test\resources
  2. Click File → Project Structure (CTRL+ALT+SHIFT+S)
  3. Under “Project Settings”, Click “Modules”
  4. Mark the folder src\main\java as “Sources”
  5. Mark the folder src\main\resources as “Rources”
  6. Mark the folder src\test\java as “Test Sources”
  7. Mark the folder src\test\resources as “Test Resources”
  8. Click “Apply” to save changes. Click OK to close the “Project Structure” window.

Leave a Reply

Your email address will not be published. Required fields are marked *