CMD not recognised in Maven

前端 未结 2 639
眼角桃花
眼角桃花 2021-01-14 18:40

I have a maven project which when i run it builds successfully but does not start the server instead it prints out the following \"\'cmd\' is not recognized as an in

相关标签:
2条回答
  • 2021-01-14 19:19

    Add C:\Windows\System32 to your Path variable in environment variables and it should work.

    0 讨论(0)
  • 2021-01-14 19:22

    This not an issue with your IDE or in MAVEN.Check your "system32" is correctly defined in the PATH environment variable in windows.Before this verify your JAVA_HOME and M2_HOME paths are correct

    Path = %SystemRoot%\system32;
    
    0 讨论(0)
提交回复
热议问题