Like the question GeoLite2 database gets corrupt when added to jar, I got the error from the WAR file with the following steps:
mvn packageto copy GeoLite2-City.mmdb fromsrc/main/resources/GeoLite2-City.mmdbto war file underWEB-INF/classes/GeoLite2-City.mmdb- GeoLite2-City.mmdb was changed in the first step
mvn package
I tried the plugin maven-resources-plugin as https://stackoverflow.com/a/34454312/1086907, but GeoLite2-City.mmdb is still changed by mvn package
How to troubleshoot the issue?