idea报错M2_HOME environment variable on your system.

idea 使用maven 编译报错:


Error running jeeplus-web-jetty:run: No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.


解决:-Dmaven.multiModuleProjectDirectory=$M2_HOME

idea报错M2_HOME environment variable on your system.

idea报错M2_HOME environment variable on your system.idea报错M2_HOME environment variable on your system.