To find out if eclipse needs to install the Maven plugin, just open windows,perferences to see if there is maven
If there is no Maven plugin, install the method: Download the Maven plugin and copy it to the Eclipse,dropins directory. Then restart Eclipse
Modify the file according to the prompts, as shown in the video demo, you need to modify the Eclipse.ini file. We go to the Eclipse root directory and open the Eclipse.ini file.
Plus
--VM
C:\Java\jdk1.7.0_55\bin\javaw.exe
Note: To write in two lines, write on a line that does not take effect
Note: These two lines will not be valid until-vmargs.
Then modify the installed JREs
Change the path to the JRE in the JDK
Or windows-perferences-java-installed the JRE in the Jres-add JDK, then tick, add
Change the default configuration in Maven, Maven-installations-add apache-maven-3.3.3
Re-modify User Settings
is the location of the local warehouse (if you have modified the local warehouse locations, write the location of the warehouse J:\moocwork\repo\settings.xml), if you have not modified the location of the warehouse, should not report this error
Create a new MAVEN project test
Note: Right-New-other-maven Project
Note that 0.0.1SNAPSHOT is a version that represents an unstable, still in development version. Release version represents a stable version
Project-Right-run As-compile
If you have reported-dmaven.multimoduleprojectdirectory system property was not set. Check $M 2_home Environme
Right-click-preference-java-install JRE in the edit dault VM arguments write-dmaven.multimoduleprojectdirectory= $M 2_home
Finish OK
Project Right-click Run As-compile-package