eclipse更新外掛程式的方法(maven)

來源:互聯網
上載者:User
eclipse更新外掛程式的方法(maven)

以maven為例:

首先是去maven官網找尋外掛程式下載地址:

m2eclipse Core Update Site: http://m2eclipse.sonatype.org/sites/m2e

然後安裝如下圖示簡單操作就可安裝成功:

第一步:選擇安裝新軟體:

2:添加maven地址

 

3.添加外掛程式名稱

 

四勾選安裝

 

 

 


安裝maven後出現的異常:

Maven: The Maven Integration requires that Eclipse be running in a JDK

解決辦法:

The fully error message that you might get is as follows: The Maven Integration requires that Eclipse be running in a JDK, because a
number of Maven core plugins are using jars from the JDK.

Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify
that Installed JREs are also using JDK installs.

To solve this problem add a new option into your eclipse.ini (which is located in your Eclipse installation folder): -vm C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe

It is important to have this line on the correct location, otherwise Eclipse will have no clue about this setting: -showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

It has to be before the -vmargs argument.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.