Problems migrating to Apple M1 Mac

You're welcome @mezod, even though you installed on Mac, there's always a Java .jar file that is executing on the background. Check out this other thread who had the same issue as yours:

You have 2 options here:
-try to fix the corruption of the file or
-get a backup of the H2 database (from time machine maybe?) and use that one

regards