Check $m2 home environment variable and mvn script match

来自ling
跳转至: 导航搜索
  • I had to to to run configurations and add an argument to the VM. (Run - Run Configurations - JRE Tab - VM arguments). Enter the following in the text box
-Dmaven.multiModuleProjectDirectory=%M2_HOME%
  • 下载maven并在计算机环境变量中设置M2_HOME到你下载的目录