Java - Hibernate envers not working in Jar
We use Hibernate Envers for keeping object change history. It's been working fine in development, now that we've build a JAR out of the code it does not work anymore. We've tried numerous things, like upgrading, checking if the database connection is right etc. Everything works fine when running in Intellij itself, just not when running the compiled JAR.
The build.gradle:
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
}
apply plugin: 'java'
apply plugin: 'maven-publish'
apply...