Maven installation environment variable problem and configuration to eclipse

Reinstalled the system today. But maven environment variables are always not installed. Your own Java JDK environment variables are installed.

Been doing it for a long time. Neither succeeded.

It was later discovered. Win10 I have been configured in the user's environment variables. It has been unsuccessful, and later switched to system environment variables. It worked.

The maven environment variable configuration is first in the apache official website. The maven compressed package next week probably has bin cofig lib directories.

Configure it in the system environment variable, create a new installation directory of MAVEN_HOME=maven, add %MAVEN_HOME%/bin to the system path, and enter mvn -v in the computer cmd command. If there is content, the configuration is successful.



Configure maven in eclipse.




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325816025&siteId=291194637