Running maven command in eclipse does not respond
Problem phenomenon: After a maven project is built in Eclipse , when various commands of maven are executed through run as , Eclipse does not respond, and nothing is printed out in the console console.
Solution: Open Window-preference-java-Installed JREs, as shown below:
Select the jdk used by the project , and double-click to open the following image:
Configure this parameter in the place where the red circle is drawn: -Dmaven.multiModuleProjectDirectory=$MAVEN_HOME , it should be noted that the latter MAVEN_HOME is the variable name when configuring the environment variable when installing maven . If you choose another name, then This place must be the same as the name you took. After confirming, execute the command again and you are done.