Groovy ConfigSlurper gives Class file too large RuntimeException
问题 I am using the Groovy ConfigSlurper to load a large groovy file (741KB) from a Groovy script and consistently receive a RuntimeException when it tries to do the compilation. Groovy 2.1.1, Java 1.6 (Apple/MacOSX) I call it like so: conf = new ConfigSlurper().parse(new File('conf.groovy').toURL()) And always get the exception below. Is there a known limitation to the size of a file ConfigSlurper can compile? org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General