接上一篇博客(解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment ...

解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match. 

 

1.添加M2_HOME的环境变量

  2.Preference->Java->Installed JREs->Edit 选择一个jdk,

  添加  -Dmaven.multiModuleProjectDirectory=$M2_HOME

接上一篇博客(解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment ..._第1张图片

-Dmaven.multiModuleProjectDirectory=$M2_HOME

转载于:https://www.cnblogs.com/UniqueColor/p/5736991.html

你可能感兴趣的:(接上一篇博客(解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment ...)