尝试在NetBeans中运行Groovy / Grails应用程序时,出现以下错误消息:Error occurred running Grails CLI: Bad <init> method call from inside of a branch Grails版本:3.0.4Java:jdk1.8.0_20 最佳答案 将GRAILS_OPTS环境变量设置为-XX:-UseSplitVerifier -Xverify:none可解决此问题