1. Right-click computer properties
①Advanced system settings
②Environment variables
2. MAVEN_HOME (fill in the parent file of the bin file in the jdk folder, which is the file when the bin file is just visible, and then copy the path)
E:\lms_help\apache-maven-3.3.9
3.classpath Join
;%MAVEN_HOME%\bin
4. Path add
%MAVEN_HOME%\bin
5. Open cmd and
directly enter
mvn -version and
output version information is correct