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.