I just had this issue (who tf is using eclipse in 2025?) and the solution was a little odd. The error log complains:
Error parsing profile eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/epp.package.jee.profile/172837742.profile.gz
So I just went to that location and for some reason it was set to -rw------- and owned by root. So... I just did a lil
sudo chown 664 <profile>.gz
After that, I just made it no longer owned by root and that fixed the issue.