-Dmaven.multiModuleProjectDirectory system propery is not set.
来源:互联网 发布:淘宝的关键词怎么设置 编辑:程序博客网 时间:2024/06/11 19:57
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指向你的maven安装目录
M2_HOME=D:\Apps\apache-maven-3.3.1
然后在Window->Preference->Java->Installed JREs->Edit
在Default VM arguments中设置
-Dmaven.multiModuleProjectDirectory=$M2_HOME
原博客:http://fxb4632242.iteye.com/blog/2193945
0 0
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set
- -Dmaven.multiModuleProjectDirectory system propery is not set
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- -Dmaven.multiModuleProjectDirectory system propery is not set
- require.js的使用
- React Native: 把现代web科技带给移动开发者
- Linux开机自动挂载分区
- Java EE项目,通过127.0.0.1访问页面不变形,但是通过localhost访问页面变形
- GitHub 上排名前 100 的 Objective-C 项目简介
- -Dmaven.multiModuleProjectDirectory system propery is not set.
- android 蓝牙各种UUID
- 5. PHP 预定义接口 --- Countable 接口
- 电子称调试
- Linux的chmod命令,对一个目录及其子目录所有文件添加权限
- centos7 关闭firewall安装iptables并配置
- 给自己留下的大牛的学习链接
- 网易2015编程题(一用Java实现一个多线程程序将这个10000个数输出到5个不用文件中)
- EditText 点击其它区域收起软键盘