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._第1张图片

你可能感兴趣的:(常见问题,Maven,环境搭建)