mvn command is not recognized as an internal or external command

前端 未结 22 2473
执念已碎
执念已碎 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:30

    Try setting the path of maven first through command prompt.

    setpath.bat Open the cmd from the base window of the batch file.

    The rest maven commands can be used once path is set through cmd.

提交回复
热议问题