(1. Check the jdk installation (version 1.6 or above): Echo% JAVA_ HOME% Java-verson2. For apache-maven-3.0.5-bin Zip to decompress, for example, to the following directory (the decompressed directory should not have Chinese characters or spaces): D: javaenv apache-maven-3.0.53. Set the system environment variable, MAVEN_ HOME4. Set the environment variable Path to% MAVEN_ When HOME% bin participates in Path, be sure to use semicolons; Separate from other values 5. Verify whether the installation is successful, open the cmd window, and click mvn – v to detect)