Problem: Entering mvn -v in com does not respond
Solution: It may be that your java JDK is not configured in the system environment variable
1. Find your java JDK storage directory and copy it
2. Open environment variables
3. Click New
4.
Variable names are names, can be just like me
The variable value is your own JDk path
5. Place the cursor on Path, click Edit
6. Take the variable name and wrap it with two "%variable name%" and add \bin
If you enter mvn -v to show that it is not an internal environment, you need to copy the path of maven, and enter the system environment variable to configure it, which is exactly the same as the java_JDK configuration method, just change the variable name and variable value
Finally: Remember that the variable value is your own path. After the variable name is taken, it will be wrapped with two %% in the Path. There is also a point that the maven decompression path cannot contain Chinese and spaces.