mvn command is not recognized as an internal or external command

前端 未结 22 2391
执念已碎
执念已碎 2020-12-30 19:20

I am getting the mvn command not recognized as an internal or external command.

I have setup the M2_HOME, JAVA_HOME and added %M2_HOME%/bin to the path

22条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-30 19:38

    I also was facing with the same issue still after adding path in environment variable and running it as a normal user in command prompt.

    Then I opened command prompt and tried running as "Run as Administrator" and I was able to download all the packages with respect to the project.

提交回复
热议问题