尝试在NetBeans中运行Groovy / Grails应用程序时,出现以下错误消息:

Error occurred running Grails CLI: Bad <init> method call from inside of a branch

Grails版本:3.0.4
Java:jdk1.8.0_20

最佳答案

GRAILS_OPTS环境变量设置为-XX:-UseSplitVerifier -Xverify:none可解决此问题

10-04 11:30