maven項目裏面點擊install pom.xml文件時出現錯誤的解決辦法

右鍵pom.xml 執行install操做時出現以下錯誤信息:windows

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

解決辦法:spa

windows-->preferencesxml

在如圖所示框內加入一下這條語句便可、ip

-Dmaven.multiModuleProjectDirectory=$M2_HOMEim

相關文章
相關標籤/搜索