maven -Dmaven.multiModuleProjectDirectory system property is not set的问题

xiaoxiao2021-02-27  175

1.当compile maven项目的时候,控制台没有输出任何东西,也没有生成相应的文件。

2.当compile maven项目,提示-Dmaven.multiModuleProjectDirectory system property is not set.

解决办法:eclipse->Preference->Java->Installed JREs->选择JREs->Edit->Default VM arguments->在后面写上Dmaven.multiModuleProjectDirectory=$M2_HOME 

转载请注明原文地址: https://www.6miu.com/read-12968.html

最新回复(0)