You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example that reproduces the problem uploaded to Github
Full description of the issue provided (see below)
Steps to Reproduce
Grails 4.X.X project
Hibernate Envers used. Annotate some domain with @Audited
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
Task List
Steps to Reproduce
grails prod dbm-gorm-diff
or./gradlew :runCommand -Pargs="dbm-generate-gorm-changelog " --info --stacktrace
Expected Behaviour
plugin task is performed
Actual Behaviour
Environment Information
Example Application
The text was updated successfully, but these errors were encountered: