1、编译(compile)Maven项目时,报错:
-Dmaven.multiModuleProjectDirectory system property is not set.
处理方案:Window => Preferences => Installed JREs => 选择当前JRE => Edit => 在 Default VM arguments 中填入:-Dmaven.multiModuleProjectDirectory=$M2_HOME
注:M2_HOME 为Maven 配置的环境变量名