So you’ve spent a day or two carefully migrating your Grails 2.4.4 application to Grails 4.0.2. Yet you find that the files in
src/main/webapp aren’t accessible from your views. Annoying right!
I’m sure this is documented somewhere, but I’m damned if I could find it again. The solution is to add a reference to them in your
grails: resources: pattern: /**
Thank you again Grails team for making my life more difficult than it should be.