I am trying to disable automatic reboot / recompilation in Grails 3.1, as I would like to use JRebel instead. I find springloaded quite limited, but, more importantly, constantly fails with
File /Users/engrun/Development/projects/grailsPoc/grails-app/controllers/grailsPoc/HelloController.groovy changed, recompiling... java.lang.IllegalAccessException: Class org.springsource.loaded.ReloadableType can not access a member of class org.springframework.aop.framework.CglibAopProxy$ClassLoaderAwareUndeclaredThrowableStrategy with modifiers "public"
I tried all sorts of settings that I found available, however none of them actually disable reboot when running the run-app command
I tried
disable.auto.recompile=true
at the command line, GRAILS_OPTS and in application.yml
I tried
-noreloading
both on the command line and in GRAILS_OPTS.
According to the docs, this should have worked https://grails.org/wiki/Auto%20Reloading
And the answer is accepted as correct here how to disable reboot in grails 3.0.0 application? doesn't work either.
Has anyone really been able to disable automatic reboot in Grails 3.1? (And successfully configured Grails 3 with JRebel?)
runeaen
source share