xavs opened a new issue, #14419: URL: https://github.com/apache/grails-core/issues/14419
### Task List - [x] Steps to reproduce provided - [x] Stacktrace (if present) provided - [x] Example that reproduces the problem uploaded to Github - [x] Full description of the issue provided (see below) ### Steps to Reproduce 1. Grails 4.X.X project 2. Hibernate Envers used. Annotate some domain with @Audited 3. Any command via grails `grails prod dbm-gorm-diff` or `./gradlew :runCommand -Pargs="dbm-generate-gorm-changelog " --info --stacktrace` ### Expected Behaviour plugin task is performed ### Actual Behaviour ``` Grails application running at http://localhost:0 in environment: development Command execution error: EnversService#initialize should be called only once > Task :runCommand FAILED :runCommand (Thread[Execution worker for ':',5,main]) completed. Took 14.215 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runCommand'. > Process 'command '~/.sdkman/candidates/java/8.0.265-open/bin/java'' finished with non-zero exit value 1 Command execution error: EnversService#initialize should be called only once` ``` ### Environment Information - **Operating System**: ubuntu 20.04 - **Grails Version:** 4.0.11 - **Plugin Version:** 'org.grails.plugins:database-migration:3.1.1.BUILD-SNAPSHOT' / 'org.liquibase:liquibase-core:3.10.1' Tried earlier versions as well - **Database:** mariadb - **JDK Version:** tried 11.0.8 and 8.0.265 ### Example Application - TODO: https://github.com/xavs/grails-dbm-envers-issue -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
