Solution to Maven plug-in installation failure in eclipse 3.6.1

Source: Internet
Author: User

1. Eclipse 3.6.1eclipse-jee-helios-sr1-win32.zip]
Http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr1

2. Plug-in address
1,GEFPlug-in address:
Http://download.eclipse.org/tools/gef/updates/interim/

2,SubclipsePlug-in address:
Http://subclipse.tigris.org/update_1.6.x

3,Maven2Plug-in address:
M2eclipse-core Update site: http://m2eclipse.sonatype.org/sites/m2e
M2eclipse-extras Update site: http://m2eclipse.sonatype.org/sites/m2e-extras
Note:: Both plug-ins must be installed without installation.ExtrasWhen you click "Run as server" to run the project, the following error occurs: "The selected did not contain any resources that can run on server Maven project"

Iii. Problems during installation:
Direct online InstallationMaven2The dependency plug-in cannot be found and cannot be installed. Must be installed firstGEFPlug-in before installationM2eclipse-corePlug-ins, but installM2eclipse-extrasPlugin dependencySubclipsePlug-ins. Therefore, the correct installation sequence of the three plug-ins is: GEF plug-ins, subclipse plug-ins, and m2eclipse plug-ins.
M2eclipse-core plug-in -- Dependency --> GEF plug-in
M2eclipse-extras plugin -- Dependency --> subclipse plugin

 

After the installation is complete, start eclipse and you will see the following prompt:

After installing the m2eclipse plug-in, you will always be prompted to restart Eclipse:

Eclipse is running in a JRE, but a JDK is required

Some Maven plugins may not work when importing projects or updating source folders.

-The VM configuration item must be prefixed to the-vmargs configuration item because a default JVM is selected for the-vmargs configuration item.

Therefore, add this sentence before-vmargs:

-VM
D:/Java/jdk1.6.0 _ 10/bin/javaw.exe

OK, everything is complete...

I think it's good to switch from iteye,

Converted from iteye: http://peirenlei.iteye.com/blog/790331

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.