Always getting error when trying to open H2 db file:
"Unsupported database file version or invalid file header in file" Error code: "[90048-224] 90048/90048". I've tried different versions of jar files: 2.2.224, 2.3.232 - but the result is still the same.
Application works perfectly with current database, so the file is not corrupted.
The error code says that your h2-version does not match the version of the database that you are trying to load.
You need to use the same h2-version with which the database (the *.db file) has been created to load this file again. So have a look in the dependencies of your working application to find the exact version of the used h2-dependency.