更新时间:2023-08-25 23:04:16
Path = %M2%;%JAVA_HOME%/bin; and others...
如果将%M2%
更改为%M2_HOME%\bin
,它将起作用.
If you change %M2%
to %M2_HOME%\bin
it'll work.
确切地说:如果执行设置路径",则必须包含Maven的bin目录的路径.
To be precise: if you execute 'set Path' it must contain the path to the bin directory of Maven.