安装Fatjar插件
Help -> Install New Software...->
选择Add按钮
在弹出的对话框(Add Repository)中,Name输入FatJar(可以自定义),Location输入http://kurucz-grafika.de/fatjar
然后一直Next即可,安装成功后会提示重新启动Eclipse。
遇到的错误
An error occurred while installing the items
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=).
Failed to prepare partial IU: [R]net.sf.fjep.fatjar 0.0.31.
参考http://blog.youkuaiyun.com/wonder4/article/details/39778013
选择“Eclipse Tests, Examples, and Extras" 中的"Eclipse 2.0 Style Plugin Support"
然后安装,安装成功后重新启动Eclipse,之后再按上述的方法安装FatJar即可。