CMD not recognised in Maven

java, maven

Solution

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;

Problem

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.

Original source