一, eclipse中使用maven插件的时候,运行run as maven build的时候报错 -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match. 二, maven编译项目时出错,提示信息如下: [ERROR] Failed to execute goal org.apache.maven.plugins…