我在Eclipse Mars中安装了M2E插件,并且在系统中也安装了Maven,但是在尝试导入maven项目时看不到Maven选项,并且在尝试将现有Java项目配置为Maven时也看不到Maven选项。项目。
If you have all correct (64b) versions, follow this steps .
Extract Maven zipped file in any folder (preferible C:\\Program Files\\
)
Add the bin
directory of the created directory apache-maven-3.0.3
to the PATH
environment variable.
Check environment variable value eg
echo %JAVA_HOME%
Must look like:
C:\\Program Files\\Java\\jdk1.7.0_51
Adding Maven folder to PATH:
bin
directory to your user PATH
environment variable by opening up the system properties ( WinKey + Pause ) C:\\Program Files\\apache-maven-3.0.9\\bin
. Check your folder is same!!! JAVA_HOME
to the location of your JDK
, eg C:\\Program Files\\Java\\jdk1.7.0_51
Verifying
cmd
mvn -v
to verify the installation.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.