1. 程式人生 > >Eclipse在線安裝FatJar插件失敗解決方案

Eclipse在線安裝FatJar插件失敗解決方案

菜單欄 ... 分享圖片 lips enter 解決方案 ack epp nts

在線安裝fatjar(URL:http://kurucz-grafika.de/fatjar)

快要安裝完的時候報錯如下:

技術分享圖片

找了很久解決方法,終於有了下文:很是粗乎意料呃,下載一個eclipse2.0插件就可以了

1.安裝Eclipse-jee-luna-SR2-win32-x86_64版本的插件支持

方法如下:

Help -> Install New Software... -> Work with

-> 選擇“The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.5” (如果是4.4eclipse luna就選updates/4.4)

-> 勾選"Eclipse Tests, Examples, and Extras" 下的 "Eclipse 2.0 Style Plugin Support"

如果不進行這一步直接安裝fatjar會報錯,錯誤內容如下:

  1. An error occurred while installing the items
  2. session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]net.sf.fjep.fatjar 0.0.31, action=).
  3. Failed to prepare partial IU: [R]net.sf.fjep.fatjar 0.0.31.

2. 安裝fatjar

推薦在線安裝方式,另外還有一種安裝方式是將fatjar插件下載到本地,然後放入eclipse的文件夾中,該方法可用性有待檢驗。

在線安裝方式如上述方式相同:

在線安裝步驟:

eclipse菜單欄 Help -> Install New Software... -> Work with

輸入:fatjat - http://kurucz-grafika.de/fatjar

然後一直 next,重啟之後就可以了!

安裝好了後,工程--右鍵

技術分享圖片

原文來自:http://m.blog.csdn.net/article/details?id=51347486

Eclipse在線安裝FatJar插件失敗解決方案