`-Dmaven.multiModuleProjectDirectory not set` issue with Maven and IntelliJ

后端 未结 3 842
一个人的身影
一个人的身影 2020-12-08 15:22

I\'ve spent quite some time trying to figure out what I\'m doing wrong and hoping someone may be able to help.

My current setup is running Maven 3.3.3 (via homebrew)

3条回答
  •  萌比男神i
    2020-12-08 15:32

    Just in case you have that error again go to Settings -> Maven -> Runner and add

    -Dmaven.multiModuleProjectDirectory=$M2_HOME
    

    to VM Options.

    enter image description here

提交回复
热议问题