fix for GRAILS-10634 and  GRAILS-10365 "Scanning for spring beans using grails.spring.bean.packages does not appear to work for src/java"