upgrade to grails 2.4 and use hibernate4. compiled ok