<@U07PBRW9L0Z> are u getting it during run, or whi...
# questions
s
@User are u getting it during run, or while running tests etc?
u
@snimavat ,I am getting it while run and sometimes while debugging. Actually at first time running it works well ,after sometime doing some changes, I am getting this issue.
t
FWIW, I’ve had the same issue now and then, though with Grails 5.3.3 / Java 11 — haven’t dug into it because restarting the app clears it until the next time (though you’ve likely already tried that)
u
@Tracy Logan, yeah I agree with rerun it will work fine, but again after sometime facing same issue 🤷😅
j
Do you have devtools defined in your gradle file?
It's a known issue with spring devtools, that isn't fixed until Grails 7 if I recall correctly.
Specifically, comment out this line in your gradle file:
// developmentOnly("org.springframework.boot:spring-boot-devtools")
🙌 1
u
@jdaugherty yeah devtools is defined in gradle. and also i have comment it.
u
@jdaugherty, is this issue cleared in grails 7 if yes? then shifting to grails 7 would be better. may be.
j
I believe they're working on fixing reloading completely in grails 7 , yes. We have not released a milestone yet though.