About the invalid problem of mvn command line in IDEA

About the invalid problem of mvn command line in IDEA

When such a problem occurs, you first need to configure mvn's environment variables:

Here we can repost someone else’s blog:

https://blog.csdn.net/qq_40875057/article/details/94760227

The blogger in the connection clearly told us that we need to configure the system variables of the maven file.

But it still appears when starting IDEA

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-MZrRWCu9-1611291864936)(picture/1-1.png)]

mvn is the problem of invalid command line (because it has been solved here, there is no picture of invalid operation before, manual dog head)

Solution: Open IDEA as an administrator.

Guess you like

Origin blog.csdn.net/m0_46198140/article/details/107898460