idea无法clean报错Error running 'lizi-user-api [clean]': No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.

今天用idea清除缓存,clean的时候报了个错,上网查也没查到原因,这句话翻译过来是没有有效的maven,所有我检查了一下我的配置,果然

然后把这个配置好就行了

2018-10-12

原文地址:https://www.cnblogs.com/wangdaxianer/p/9780924.html