Maven environment variables configured correctly, but has been suggested: mvn not an internal or external command, operable program or batch file

Foreword

After redo the system, you need to configure the content or with a lot of, after configuring Maven environment (PS: are configured according to the original configuration), the command window detection: display mvn not an internal or external command, operable in program or batch file, this configuration is not good, the latter development experience problems and Dubbo installation also can not be achieved.

solution

Preparatory

Maven environment must take pre-configured, such as clear, please visit the following articles:

IntelliJ IDEA Maven environment configuration and deployment of Maven

Late supplement

Maven will configure the absolute path to the Path, the Path is the path of the article mentioned above, added to the bincan, as shown below:
Here Insert Picture Description
After completion, the command window: mvn -vto see mavenwhether the environment configuration is successful!

to sum up

It seems before things no problem, now would not always be possible, after learning a little bit of accumulation, are some valuable asset, we can under the Comments, a lot of exchange! ! !

Published 140 original articles · won praise 106 · views 190 000 +

Guess you like

Origin blog.csdn.net/tigaobansongjiahuan8/article/details/103221666