标签:variable cli lib 解决 system tom ble UI net
eclipse中使用maven插件的时候,运行run as maven build的时候报错
-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
解决方案:
本人maven 环境变量为
M2_HOME=D:\apache-maven-3.3.9
然后在Window->Preference->Java->Installed JREs->Edit
在Default VM arguments中设置
-Dmaven.multiModuleProjectDirectory=$M2_HOME
eclipse中使用maven插件的时候,运行tomcat7:run的时候报错
标签:variable cli lib 解决 system tom ble UI net
原文地址:http://www.cnblogs.com/heimafeng/p/6441411.html