Error running 'lis [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.

出现这种情况主要是更改了maven的安装目录,报错如下:

解决方法如下:

OK。问题解决。

posted @ 2020-06-18 10:10  我不是铁杆啊  阅读(15108)  评论(0编辑  收藏  举报