您的位置:首页 > 编程语言 > Java开发

Eclipse Luna 安装旧版本插件失败(官方解决方案)

2014-11-02 15:46 405 查看
瞎扯淡一下,新版本eclipse luna已经上线。相比kepler版本性能优化不是一点点,修改皮肤不再需要重启(非常nice),jee版本默认带上m2e、git、properties editor很是良心,好吧,我需要使用velocity...遇到一些问题。

在安装Luna版本Eclipse上安装Velocity插件时,不断的出现失败。

安装过程出现以下错误(detail 内容):

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]com.googlecode.veloeclipse.ui 2.0.8, action=). Failed to prepare partial IU: [R]com.googlecode.veloeclipse.ui
2.0.8.

查询官方issue后出现如下内容:

So, go to Help -> Install New Software..., choose "The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.4" from the "Work with" list and then in the "Eclipse Tests, Examples, and Extras" category check "Eclipse 2.0 Style Plugin
Support" and install it. After restarting Eclipse, install veloeclipse again and this time the installation will succeed.

1. 添加一个新的安装位置 [ The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.4 ]。

2. 在新添加的安装位置中找到 [ Eclipse 2.0 Style Plugin Support ] 并进行安装。

3. 重新启动Eclipse Luna 后重新安装Velocity即可完成安装(不过 Velocity 可能需要翻墙,推荐Go Agent)

参考资料:http://code.google.com/p/veloeclipse/issues/detail?id=47
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: