A pit encountered when starting a maven project with myeclipse2014 version. After downloading the code from svn and importing it into myeclipse, there is no error message on myeclipse, but when using the maven command to operate, it is terminated directly.
First, check the jdk version number in myeclipse to determine whether it is the jdk version that comes with myeclipse. It is recommended not to use the built-in jdk version;
Next, check the version number and setting information of the maven plugin to make sure that the maven plugin has been installed correctly. In the command window, mvn -v displays the corresponding information. If it does not display the maven configuration, the correct display should be:
After the above information is displayed, if the maven project imported in the myeclipse2014 version still cannot run normally, the problem must be the problem of the myeclipse2014 tool. After research, it is found that there is a blank on Installed JREs in the preferences of myeclipse, fill in the corresponding parameters, and then run it normally.
maven is running normally
The red box is filled with -Dmaven.multiModuleProjectDirectory=$MAVEN_HOME