Removed deprecated call to ApplicationHolder which breaks grails 2.4