I use Grails 2.3 and the Grails database migration plugin (1.3.6).
When I do grails dbm-update I get the following error. How can I solve this error?
This is a super annoying bug. My application depends on running scripts with run-script and I get the same behavior. Here's what I did as a workaround:
plugins {
...
// grails 2.3.2 and tomcat 7.0.42 cause scripts to not work :( Pass -DnoTomcat=true in the script args to fix this
if (System.getProperty("noTomcat") == null) {
build ":tomcat:7.0.42"
}
}
Then when running your script:
grails -DnoTomcat=true run-script scripts/MyScript.groovy
Annoying for sure, but at least you can use all the other latest features while awaiting a fix.