Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CMD not recognised in Maven

Tags:

java

maven

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 internal or external command, operable program or batch file.". i have actually tried re-installing netbeans but that doesn't seem to solve the problem. Any help would be highly appreciated.

like image 890
Ayodeji Avatar asked Oct 20 '25 04:10

Ayodeji


1 Answers

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;
like image 171
Kandy Avatar answered Oct 22 '25 18:10

Kandy