eclipse 中maven编译出现问题-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOM

来源:互联网 发布:软件开发立项申请书 编辑:程序博客网 时间:2024/06/07 06:09

在eclipse中maven编译出现下面这个问题

-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOM

解决方法:点击window--->preference--->java--->Installed JREs,然后对选中的jdk进行edit,把-Dmaven.multiModuleProjectDirectory= $M2_HOM复制到Default VM arguments的text框中。最后finish。

0 0
原创粉丝点击