idea 14运行java工程报错-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.

时间:2022-05-24 00:50:04
报错信息:Disconnected from the target VM, address: '127.0.0.1:59770', transport: 'socket'
-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match. 把idea升级到最新版本或者把maven降级到3.1.1就好了