When updating Eclipse, the following error was reported:
An error occurred while uninstalling session context was: (profile=D__…_…_eclipse_jee-2021-09_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.platform.ide.executable.win32.win32.x86_64 4.21.0.I20210906-0500 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file D:…eclipse.exe failed. Can not remove : D:…eclipse.exe
After searching for a long time, I haven't seen the relevant solutions, and finally found the following solution on the forum:
In short, after starting eclipse, rename eclipse exe to
eclipse.exe.back and then update.