If u are getting error like -Dmaven.multiModuleProjectDirectory system propery is not set.
Check $M2_HOME environment variable and mvn script match In eclipse
then go through Window--> Preference --> Java --> Installed JREs --> Edit In the edit Default VM arguments you need to put If you already set the maven home.
-Dmaven.multiModuleProjectDirectory=M2_HOME (For Windows machine)
-Dmaven.multiModuleProjectDirectory=$M2_HOME (For Mac OS X)
本文提供了解决Maven多模块项目中'Dmaven.multiModuleProjectDirectory'属性未设置导致的错误的方法,包括检查环境变量、匹配Eclipse脚本以及编辑默认虚拟机参数。
1453

被折叠的 条评论
为什么被折叠?



