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

旧巷老猫 提交于 2019-11-28 06:21:36

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

-Dmaven.multiModuleProjectDirectory=$M2_HOME

to VM Options.

Ismail Kattakath

I had this wired issue while trying to build CAS Overlay Template using Maven. I could resolve it by adding the following environment variable:

MAVEN_OPTS = -Dmaven.multiModuleProjectDirectory

From the original question, the OP has solved their issue through this approach.

I upgraded to IDEA 14, imported settings, created a new Spring project and it worked out of the box.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!