Rookie error (vii)--console after executing the mvn command prompt ' cmd ' is not an internal or external command

Source: Internet
Author: User

The recent use of the MVN command under CMD will always appear after execution "' cmd ' is not an internal or external command, or an executable program or batch file," such as:



Although the execution of the command was successful, it would not have any effect, but as a late obsessive-compulsive disorder, I could never tolerate it. First, the ability to execute the MVN command correctly, stating that MAVEN's configuration is no problem, and where is the problem? Look for it. The last location is the environment variable problem, look at the system variable path, found that there is a lack of %systemroot%\system32;%systemroot%, so decisive Plus, again execute the MVN command, Found that the sentence has disappeared!




Note: After modifying the path path, you can reopen the command-line window.

Obsessive-compulsive disorder is my motivation to pursue perfection!




Rookie error (vii)--console after executing the mvn command prompt ' cmd ' is not an internal or external command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.