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

IT黑名单 2017-4-28 9:53:23

eclipse maven插件打包报错:-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
解决方案:Windows -> Preferences -> Java -> Installed JREs -> Edit -> Default VM arguments 增加参数 -Dmaven.multiModuleProjectDirectory=$M2_HOME



转载请注明来源【IT黑名单

本文链接:http://blog.itblacklist.cn/20170428/8450.html

© Copyright 2016 IT黑名单 Inc.All Rights Reserved. 豫ICP备15018592号-2