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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…