maven 安装 、更新插件出错 An error occurred while uninstalling session context was:(profile=epp.package

20 篇文章 1 订阅
11 篇文章 0 订阅
An error occurred while uninstalling
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86_64 1.0.0.v20130521-1847 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file H:\Desktop\eclipse2\eclipse.exe failed.

Can not remove : H:\Desktop\eclipse2\eclipse.exe



在stackoverflow上找到了解决方案:https://stackoverflow.com/questions/22427728/eclipse-kepler-cant-install-updates 


解决方案:在eclipse里面更新插件,提示重启eclipse时,不要点击重启,先把eclipse.exe改名,再点重启eclipse,比如我的报错中路径就是H:\Desktop\eclipse2\eclipse.exe,(好像软件自身的权限不足以删除"eclipse.exe"这个文件,我猜是windows系统的机制)

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值