idea报错Error running ‘oceanus [clean]’: No valid Maven installation found. Either set the home等
idea中在执行maven命令时,出现Error running ‘oceanus [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找不到maven路径。如下图
解决办法: