Load spring beans from custom groovy files in grails app
问题 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 find a consistent approach that loads from the classpath. The Goal Modularize resources.groovy into multiple custom resource files Put custom resource files in standard location: grails-app/conf/spring Use plugin to do the magic; minimize overhead Tried... //## grails-app/conf/spring/MyBeansConfig.groovy beans { testsvc(TestService){ msg