mvn command is not recognized as an internal or external command

even though I have configured %m2_home% and %path% correctly, the command "mvn" is still not recognized.

use command echo to output the system environment variables, everything is find, there is no typo issue of ";" and "\".

 

How to resolve:

in %path%, use the absolute uri instead of "%m2_home%\bin", that is, using "C:\your install path\bin".

posted @ 2015-12-29 15:22  hbyuan27  阅读(1838)  评论(0编辑  收藏  举报