当run as maven build时出现-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable 的报错
可以在eclipse的window>preperence>java>installed>JREs中点击edit
将Default VM arguments设置为%MAVEN_HOME%(maven的环境变量设置,指向maven的安装目录)
当run as maven build时出现-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable 的报错
可以在eclipse的window>preperence>java>installed>JREs中点击edit
将Default VM arguments设置为%MAVEN_HOME%(maven的环境变量设置,指向maven的安装目录)