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

来源:互联网 发布:手机连不上虚拟网络 编辑:程序博客网 时间:2024/06/05 04:24
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系统的机制)

阅读全文
0 0
原创粉丝点击