Trying to load spring beans from custom groovy file in Grails 2.3.7.
I know this question has been asked before, but after hours of searching, I\'m unable to fi
I had the same problem with custom XML files in Grails 2.1.2.
Having XML resources in grails-app/conf/spring
didn't work in production environment AFAIR.
To make it working both in development and production environments I finally put the resources into src/java
. I think you can achieve the same result by putting your groovy files into src/groovy
.