當我去clean maven的時候報錯
Error running 'aixin-admin-gateway [clean,install]': No valid Maven installation found.
Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system
查詢后發現是划線處報錯。
解決方法:file---->setting---->maven修改正確的maven鏈接地址,然后點擊apply和ok重新構建項目即可。
一定要細心,嚴格。